includes/clientside/static/ajax.js
changeset 221 e5302cb1945c
parent 215 94db56b8124f
child 304 e2cb5f1432c8
equal deleted inserted replaced
220:d44492e34ab3 221:e5302cb1945c
   198 function ajaxReset()
   198 function ajaxReset()
   199 {
   199 {
   200   // IE <6 pseudo-compatibility
   200   // IE <6 pseudo-compatibility
   201   if ( KILL_SWITCH )
   201   if ( KILL_SWITCH )
   202     return true;
   202     return true;
       
   203   var ns_id = strToPageID(title);
       
   204   if ( ns_id[1] == 'Special' || ns_id[1] == 'Admin' )
       
   205     return false;
   203   enableUnload();
   206   enableUnload();
   204   setAjaxLoading();
   207   setAjaxLoading();
   205   ajaxGet(stdAjaxPrefix+'&_mode=getpage&noheaders', function() {
   208   ajaxGet(stdAjaxPrefix+'&_mode=getpage&noheaders', function() {
   206     if(ajax.readyState == 4) {
   209     if(ajax.readyState == 4) {
   207       unsetAjaxLoading();
   210       unsetAjaxLoading();