diff --git a/common/js/xml_handler.js b/common/js/xml_handler.js index e4085f0fc..bdf7e1560 100644 --- a/common/js/xml_handler.js +++ b/common/js/xml_handler.js @@ -378,7 +378,7 @@ $.exec_json = function(action,data,func){ if(data.error > 0) alert(data.message); if(data.error == -1 && data.message == 'msg_is_not_administrator'){ alert('You are not logged in as an administrator'); - window.location.reload(); +// window.location.reload(); return; } if($.isFunction(func)) func(data);