Respect no_actions flag in controller_selection when selecting a range / all

This commit is contained in:
nathangray 2018-07-23 12:53:41 -06:00
parent c5e902926b
commit f7e194b0b4
2 changed files with 10 additions and 2 deletions

View File

@ -669,6 +669,11 @@ var et2_dataview_controller = (function(){ "use strict"; return Class.extend({
this.self._selectionMgr.registerRow(this.entry.uid, this.entry.idx,
tr, links);
}
else
{
// Remember that
this.entry.no_actions = true;
}
// Invalidate the current row entry
this.entry.row.invalidate();

View File

@ -565,8 +565,11 @@ var et2_dataview_selectionManager = (function(){ "use strict"; return Class.exte
naStart = false;
}
// Select the element
this.setSelected(this._indexMap[i].uid, true);
// Select the element, unless flagged for exclusion
if(!this._indexMap[i].no_actions)
{
this.setSelected(this._indexMap[i].uid, true);
}
}
else if(i >= range_break)
{