mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 14:41:29 +01:00
Respect no_actions flag in controller_selection when selecting a range / all
This commit is contained in:
parent
c5e902926b
commit
f7e194b0b4
@ -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();
|
||||
|
@ -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)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user