Don't show loader for scanner if page isn't loaded yet

This commit is contained in:
Ruud
2013-08-14 12:20:38 +02:00
parent cf6f83a44b
commit 67bc3903d4

View File

@@ -102,6 +102,11 @@ Page.Manage = new Class({
}
}
else {
// Don't add loader when page is loading still
if(!self.list.navigation)
return;
if(!self.progress_container)
self.progress_container = new Element('div.progress').inject(self.list.navigation, 'after')