FBI-883: Granular Export error at user interaction list

This commit is contained in:
Rodrigo Quelca}
2016-08-29 16:24:16 -04:00
parent fc19cec127
commit ffde987d93

View File

@@ -1198,7 +1198,22 @@ function exportImportProcessObjects(typeAction)
[2, _('ID_REPLACE_ALL')]
]
});
checkBoxSelMod = new Ext.grid.CheckboxSelectionModel();
checkBoxSelMod = new Ext.grid.CheckboxSelectionModel({
singleSelect:false,
listeners: {
beforerowselect: function (sm, row_index, keepExisting, record) {
sm.suspendEvents();
if (sm.isSelected(row_index)) {
// row already selected, deselect it (note: other selections remain intact on deselect).
sm.deselectRow(row_index);
} else {
sm.selectRow(row_index, true)
}
sm.resumeEvents();
return false;
}
}
});
gridProcessObjects = new Ext.grid.EditorGridPanel( {
region: 'center',
layout: 'fit',