mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-24 11:51:43 +02:00
* Api: Fix enabled actions don't show up on nm initiation
This commit is contained in:
parent
f5f7358445
commit
60f2f4fee6
@ -913,6 +913,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)
|
||||||
@ -926,6 +929,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…
x
Reference in New Issue
Block a user