forked from extern/egroupware
Allowing mutliple action-link groups to be defined for grid entries. These must be comma seperated.
This commit is contained in:
parent
11475a41cd
commit
10e5735e16
@ -148,9 +148,15 @@ egwGridDataElement.prototype.set_group = function(_value)
|
||||
this.group = _value;
|
||||
|
||||
var root = this.getRootElement();
|
||||
if (typeof root.actionLinkGroups[_value] != "undefined")
|
||||
|
||||
var groups = _value.split(",");
|
||||
for (var key in groups)
|
||||
{
|
||||
this.actionObject.updateActionLinks(root.actionLinkGroups[_value]);
|
||||
var val = groups[key];
|
||||
if (typeof root.actionLinkGroups[val] != "undefined")
|
||||
{
|
||||
this.actionObject.updateActionLinks(root.actionLinkGroups[val]);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user