mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-12-22 23:00:56 +01:00
fix not closed spinner for application names with a dot
This commit is contained in:
parent
9a26934c67
commit
038c1c811c
@ -288,12 +288,12 @@ egw.extend('message', egw.MODULE_WND_LOCAL, function(_app, _wnd)
|
|||||||
var $animator = jQuery(_wnd.document.createElement('div'))
|
var $animator = jQuery(_wnd.document.createElement('div'))
|
||||||
.addClass('egw-loading-prompt-'+mode+'-animator')
|
.addClass('egw-loading-prompt-'+mode+'-animator')
|
||||||
.appendTo($container);
|
.appendTo($container);
|
||||||
if (jQuery('#'+id).length == 0) $container.insertBefore($node);
|
if (!_wnd.document.getElementById(id)) $container.insertBefore($node);
|
||||||
return $container;
|
return $container;
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
$container = jQuery('#'+id);
|
$container = jQuery(_wnd.document.getElementById(id));
|
||||||
if ($container.length > 0) $container.remove();
|
if ($container.length > 0) $container.remove();
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user