comment out redundatn code increasing load on server
parent
f9b1453705
commit
3723f7acb3
|
@ -422,6 +422,9 @@ function initPage() {
|
|||
}
|
||||
selectLayout('#zmMontageLayout');
|
||||
|
||||
if ( 0 ) {
|
||||
// What is the purpose of this code? I think it just starts up a second ajax thread,
|
||||
//increasing the load on the server.
|
||||
for ( var i = 0; i < monitorData.length; i++ ) {
|
||||
if ( monitors[i].type == 'WebSite' )
|
||||
continue;
|
||||
|
@ -431,5 +434,6 @@ function initPage() {
|
|||
//monitors[i].zm_startup(delay);
|
||||
}
|
||||
}
|
||||
}
|
||||
// Kick everything off
|
||||
window.addEvent( 'domready', initPage );
|
||||
|
|
Loading…
Reference in New Issue