mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-25 04:11:49 +02: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
|
//Get the constructor for the given action type
|
||||||
if (!_type)
|
if (!_type)
|
||||||
{
|
{
|
||||||
_type = "default";
|
_type = "popup";
|
||||||
}
|
}
|
||||||
|
|
||||||
// Only allow adding new actions, if this action class allows it.
|
// Only allow adding new actions, if this action class allows it.
|
||||||
@ -148,7 +148,7 @@ egwAction.prototype.updateActions = function(_actions)
|
|||||||
if (!action)
|
if (!action)
|
||||||
{
|
{
|
||||||
if (typeof elem.type == "undefined")
|
if (typeof elem.type == "undefined")
|
||||||
elem.type = "default";
|
elem.type = "popup";
|
||||||
|
|
||||||
var constructor = null;
|
var constructor = null;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user