mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-26 00:29:38 +01:00
action type now defaults to 'popup'
This commit is contained in:
parent
6081a5749d
commit
cbf233bccd
@ -102,7 +102,7 @@ egwAction.prototype.addAction = function(_type, _id, _caption, _iconUrl,
|
||||
//Get the constructor for the given action type
|
||||
if (!_type)
|
||||
{
|
||||
_type = "default";
|
||||
_type = "popup";
|
||||
}
|
||||
|
||||
// Only allow adding new actions, if this action class allows it.
|
||||
@ -148,7 +148,7 @@ egwAction.prototype.updateActions = function(_actions)
|
||||
if (!action)
|
||||
{
|
||||
if (typeof elem.type == "undefined")
|
||||
elem.type = "default";
|
||||
elem.type = "popup";
|
||||
|
||||
var constructor = null;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user