User:Jorgenev/AJAXSectionEditor.js: Difference between revisions

Content deleted Content added
No edit summary
No edit summary
Line 29:
if ( data.edit && data.edit.result == 'Success' ) {
cancel();
 
$.get('http://en.wikipedia.org/w/index.php?action=render&title='+PageName, function(data) {
document.getElementById("bodyContent").innerHTML = "nnn" + data;
});
 
} else if ( data.error ) {
Line 40 ⟶ 44:
}
});
 
$.get('http://en.wikipedia.org/w/index.php?action=purge&title='+PageName, function(data) {
 
});
 
$.get('http://en.wikipedia.org/w/index.php?action=render&title='+PageName, function(data) {
document.getElementById("bodyContent").innerHTML = data;
});
}