equal
deleted
inserted
replaced
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) { |