forked from extern/egroupware
Respect no_actions flag in controller_selection when selecting a range / all
This commit is contained in:
parent
015ba6bbe7
commit
19d6d3bed7
@ -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,8 +565,11 @@ var et2_dataview_selectionManager = (function(){ "use strict"; return Class.exte
|
|||||||
naStart = false;
|
naStart = false;
|
||||||
}
|
}
|
||||||
|
|
||||||
// Select the element
|
// Select the element, unless flagged for exclusion
|
||||||
this.setSelected(this._indexMap[i].uid, true);
|
if(!this._indexMap[i].no_actions)
|
||||||
|
{
|
||||||
|
this.setSelected(this._indexMap[i].uid, true);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
else if(i >= range_break)
|
else if(i >= range_break)
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user