User:Animum/reset.js: Difference between revisions

Content deleted Content added
Animum (talk | contribs)
m Lol semicolon
Animum (talk | contribs)
m Stupid semicolons
Line 14:
if(UrlParameters["indirect"] == 1) { //If you've clicked on the toolbox link
window.setTimeout(function() { document.forms["editform"].wpDiff.click(); }, 200); //Load the diff if you are resetting it per the toolbox link
var save = confirm("Save? (click \"OK\" to save; \"cancel\" to abort)"); // Do you want to make these changes?
if(save == true) {
window.setTimeout(function() { document.forms["editform"].wpSave.click(); }, 200); //Submit it!