fix not closed spinner for application names with a dot

This commit is contained in:
Ralf Becker 2020-03-31 13:03:31 +02:00
parent 9a26934c67
commit 038c1c811c

View File

@ -288,12 +288,12 @@ 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);
if (jQuery('#'+id).length == 0) $container.insertBefore($node);
if (!_wnd.document.getElementById(id)) $container.insertBefore($node);
return $container;
}
else
{
$container = jQuery('#'+id);
$container = jQuery(_wnd.document.getElementById(id));
if ($container.length > 0) $container.remove();
return null;
}