mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-02-02 03:19:56 +01:00
Avoid errors if widget has a modification on a sub-widget named 'type'
This commit is contained in:
parent
6aea0844ba
commit
d2c2dde383
@ -700,7 +700,7 @@ var et2_widget = (function(){ "use strict"; return ClassWithAttributes.extend(
|
||||
var entry = modifications.getRoot().getEntry(_node.getAttribute("id"));
|
||||
}
|
||||
}
|
||||
if(entry && entry.type)
|
||||
if(entry && entry.type && typeof entry.type === 'string')
|
||||
{
|
||||
_nodeName = attributes["type"] = entry.type;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user