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 4ed941e27a
commit e9f4a72031

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