includes/clientside/static/ajax.js
changeset 672 08a7875258b4
parent 651 ce9d78d7251d
child 696 bd5069e1f19a
equal deleted inserted replaced
671:267c9f93b51f 672:08a7875258b4
    19     if ( ajax.readyState == 4 && ( ajax.status == 200 || ajax.status == 404 ) ) {
    19     if ( ajax.readyState == 4 && ( ajax.status == 200 || ajax.status == 404 ) ) {
    20       unsetAjaxLoading();
    20       unsetAjaxLoading();
    21       document.getElementById('ajaxEditContainer').innerHTML = ajax.responseText;
    21       document.getElementById('ajaxEditContainer').innerHTML = ajax.responseText;
    22       selectButtonMajor('article');
    22       selectButtonMajor('article');
    23       unselectAllButtonsMinor();
    23       unselectAllButtonsMinor();
       
    24       // if we're on a userpage, call the onload function to rebuild the tabs
       
    25       if ( typeof(userpage_onload) == 'function' )
       
    26       {
       
    27         window.userpage_blocks = [];
       
    28         userpage_onload();
       
    29       }
    24     }
    30     }
    25   });
    31   });
    26 }
    32 }
    27 
    33 
    28 // Miscellaneous AJAX applets
    34 // Miscellaneous AJAX applets