mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-03-13 15:48:17 +01:00
Only try to find parent via jQuery if typeof _node == "string" AND _node !== ""
This commit is contained in:
parent
bb923b33e5
commit
31a2d77e8a
@ -388,7 +388,7 @@ export abstract class et2_DOMWidget extends et2_widget implements et2_IDOMNode
|
||||
*/
|
||||
set_parent_node(_node)
|
||||
{
|
||||
if(typeof _node == "string")
|
||||
if(typeof _node == "string" && _node !== "" )
|
||||
{
|
||||
var parent = jQuery('#'+_node);
|
||||
if(parent.length === 0 && window.parent)
|
||||
|
Loading…
Reference in New Issue
Block a user