includes/clientside/static/ajax.js
changeset 78 4df25dfdde63
parent 76 608dee512bf0
child 80 cb7dde69c301
equal deleted inserted replaced
77:63ca29eda873 78:4df25dfdde63
   162 function ajaxSavePage()
   162 function ajaxSavePage()
   163 {
   163 {
   164   // IE <6 pseudo-compatibility
   164   // IE <6 pseudo-compatibility
   165   if ( KILL_SWITCH )
   165   if ( KILL_SWITCH )
   166     return true;
   166     return true;
   167   goBusy('Saving page...');
   167   //goBusy('Saving page...');
   168   var text = ajaxEscape($('ajaxEditArea').getContent());
   168   var text = ajaxEscape($('ajaxEditArea').getContent());
   169   if(document.mdgAjaxEditor.minor.checked) minor='&minor';
   169   if(document.mdgAjaxEditor.minor.checked) minor='&minor';
   170   else minor='';
   170   else minor='';
   171   ajaxPost(stdAjaxPrefix+'&_mode=savepage', 'summary='+document.getElementById('ajaxEditSummary').value+minor+'&text='+text, function() {
   171   ajaxPost(stdAjaxPrefix+'&_mode=savepage', 'summary='+document.getElementById('ajaxEditSummary').value+minor+'&text='+text, function() {
   172     if(ajax.readyState == 4) {
   172     if(ajax.readyState == 4) {