Use widget ID in action manager, only use unique ID if widget somehow has no ID

This commit is contained in:
Nathan Gray 2014-01-18 16:48:07 +00:00
parent 496c34614d
commit 64fd8ec86b

View File

@ -122,7 +122,7 @@ var et2_nextmatch_controller = et2_dataview_controller.extend(et2_IDataProvider,
*/
_initActions: function (_actions) {
// Generate a uid for the action and object manager
var uid = this.egw.uid();
var uid = this._widget.id||this.egw.uid();
if(_actions == null) _actions = [];