forked from extern/egroupware
* Api: Fix enabled actions don't show up on nm initiation
This commit is contained in:
parent
7d6ae58e4f
commit
18efbfad98
@ -910,6 +910,9 @@ var et2_dataview_controller = (function(){ "use strict"; return Class.extend({
|
|||||||
}
|
}
|
||||||
placeholder.appendTo(this._grid.innerTbody);
|
placeholder.appendTo(this._grid.innerTbody);
|
||||||
|
|
||||||
|
// Register placeholder action only if no rows
|
||||||
|
if (this._grid._total == 0)
|
||||||
|
{
|
||||||
// Get the action links if the links callback is set
|
// Get the action links if the links callback is set
|
||||||
var links = null;
|
var links = null;
|
||||||
if (this._linkCallback)
|
if (this._linkCallback)
|
||||||
@ -923,6 +926,7 @@ var et2_dataview_controller = (function(){ "use strict"; return Class.extend({
|
|||||||
}
|
}
|
||||||
this._selectionMgr.registerRow("",0,placeholder.get(0), links);
|
this._selectionMgr.registerRow("",0,placeholder.get(0), links);
|
||||||
}
|
}
|
||||||
|
}
|
||||||
},
|
},
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user