mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-03 12:39:25 +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,
|
this.self._selectionMgr.registerRow(this.entry.uid, this.entry.idx,
|
||||||
tr, links);
|
tr, links);
|
||||||
}
|
}
|
||||||
|
else
|
||||||
|
{
|
||||||
|
// Remember that
|
||||||
|
this.entry.no_actions = true;
|
||||||
|
}
|
||||||
|
|
||||||
// Invalidate the current row entry
|
// Invalidate the current row entry
|
||||||
this.entry.row.invalidate();
|
this.entry.row.invalidate();
|
||||||
|
@ -565,9 +565,12 @@ var et2_dataview_selectionManager = (function(){ "use strict"; return Class.exte
|
|||||||
naStart = false;
|
naStart = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Select the element
|
// Select the element, unless flagged for exclusion
|
||||||
|
if(!this._indexMap[i].no_actions)
|
||||||
|
{
|
||||||
this.setSelected(this._indexMap[i].uid, true);
|
this.setSelected(this._indexMap[i].uid, true);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
else if(i >= range_break)
|
else if(i >= range_break)
|
||||||
{
|
{
|
||||||
queryRanges.push(et2_bounds(naStart ? naStart : s, i - 1));
|
queryRanges.push(et2_bounds(naStart ? naStart : s, i - 1));
|
||||||
|
Loading…
Reference in New Issue
Block a user