mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-08-16 03:34:48 +02:00
Avoid errors if widget has a modification on a sub-widget named 'type'
This commit is contained in:
@ -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;
|
||||
}
|
||||
|
Reference in New Issue
Block a user