Bug : ajax fails if wait_box does not exist

This commit is contained in:
Dany De Bontridder 2018-09-23 09:07:48 +02:00
parent d7ff4aee24
commit a0bdfd3b22

View file

@ -1420,7 +1420,8 @@ function remove_waiting_node()
}
function remove_waiting_box()
{
Effect.Fade('wait_box', { duration: 0.6 });
if ( $('wait_box') ) { Effect.Fade('wait_box', { duration: 0.6 }); }
remove_waiting_node();
}
/**