Commit d7531d0f authored by LE GAC Renaud's avatar LE GAC Renaud
Browse files

Update harvest view to remove hack for Ext JS 4.2.1.

parent 4172f4db
......@@ -384,15 +384,6 @@
gridLog.on('itemcontextmenu', function(view, record, item, index, event) {
event.stopEvent();
// FIX EXT JS 4.2.1
// In that version the selection of the row is wrong when the grouping
// feature is activated. It has been corrected in 4.2.2.
// The next lines fix this bug.
// (from www.sencha.com/forum/showthread.php?264961-Grid-Grouping-Bug)
index = item.getAttribute('data-recordid');
view.getSelectionModel().select(view.dataSource.data.get(index));
record = view.getSelectionModel().getSelection()[0];
// the editAndInsert action is only available when the record is
// not already in the database
if (record.get('action') === 'idle') {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment