User:Twinzor/wikimarkbeta.js: Difference between revisions

Content deleted Content added
Should work now
If I swap the lines around?
Line 125:
e=f.contentWindow.document.editform,e.wpTextbox1.value+=listtype+"["+"["+wikimarkNewpage+"]"+"]\n",e.wpSummary.value=wikimark_cmt,e.wpSave.click();
var iframe = document.getElementById('WikiMarksLoader');
iframe.style.display="none";
jsMsg("'''"+wikimarkNewpage+"''' has been added to your WikiMarks.");
iframe.style.display="none";
};
f.src=wikimarklinkprefix+"?title=User:"+wikimarkEncodedUserName+wikimarkspage+"&action=edit",document.body.appendChild(f);