Do not add the loading prompt container if it's already there

This commit is contained in:
Hadi Nategh 2018-07-13 16:32:44 +02:00
parent ab3bd62b16
commit 4aec40b456

View File

@ -288,7 +288,7 @@ egw.extend('message', egw.MODULE_WND_LOCAL, function(_app, _wnd)
var $animator = jQuery(_wnd.document.createElement('div'))
.addClass('egw-loading-prompt-'+mode+'-animator')
.appendTo($container);
$container.insertBefore($node);
if (jQuery('#'+id).length == 0) $container.insertBefore($node);
return $container;
}
else