MINOR Fixed JS undefined error with 'Loading' element

git-svn-id: svn://svn.silverstripe.com/silverstripe/open/modules/cms/trunk@63801 467b73ca-7a2a-4603-9d3b-597d59a354a9
This commit is contained in:
Sean Harvey 2008-10-08 01:10:38 +00:00
parent d1572b1272
commit 7d9bfd8c39

View File

@ -770,7 +770,7 @@ GBModalDialog.prototype = {
}
function hideLoading() {
$('Loading').style.display = 'none';
if($('Loading')) $('Loading').style.display = 'none';
Element.removeClassName(document.body, 'stillLoading');
}
function baseHref() {