rem: ajaxPost(stdAjaxPrefix+'&_mode=preview', 'summary='+document.getElementById('ajaxEditSummary').value+minor+'&text='+text, function() { if(ajax.readyState == 4) { unBusy(); edit_open = false; document.getElementById('mdgPreviewContainer').innerHTML = ajax.responseText; } 
add: ajaxGet(stdAjaxPrefix+'&_mode=getsource', function() { if(ajax.readyState == 4) { unsetAjaxLoading(); if(edit_open) { c=confirm('Do you really want to revert your changes?'); if(!c) return; } edit_open = true; selectButtonMajor('article'); selectButtonMinor('edit'); if(in_array('ajaxEditArea', grippied_textareas)) {  grippied_textareas.pop(in_array('ajaxEditArea', grippied_textareas)); } document.getElementById('ajaxEditContainer').innerHTML = '\ <form method="get" action="#" onsubmit="ajaxSavePage(); return false;">\ <textarea readonly="readonly" id="ajaxEditArea" rows="20" cols="60" style="display: block; margin: 1em 0 1em 1em; width: 96.5%;">'+ajax.responseText+'</textarea><br />\ <a href="#" onclick="void(ajaxReset()); return false;">close viewer</a>\ </form>'; initTextareas(); } 
context:   ajaxPost(stdAjaxPrefix+'&_mode=preview', 'summary='+document.getElementById('ajaxEditSummary').value+minor+'&text='+text, function() {    if(ajax.readyState == 4) {      unBusy();      edit_open = false;      document.getElementById('mdgPreviewContainer').innerHTML = ajax.responseText;    }  });
meta: 3765	/local1/tlutelli/issta_data/temp/all_js/javascript/2007_temp/2007/3765/d7141bbfd35c2b2bc6e3720f56cfebedaeb26b35/ajax.js/clean/includes/clientside/static/ajax.js