User:ErrantX/defaultsummaries.js: Difference between revisions

Content deleted Content added
fix
fixes
Line 8:
{
// Save the original value of the edit summary field
editsummOriginalSummary = document.getElementById("wpSummary").value;
if(editsummOriginalSummary == Null)
{
return;
}
 
editsummOriginalSummary = editsummOriginalSummary.value
// For convenience, add a dropdown box with some canned edit
// summaries to the form.
Line 50 ⟶ 55:
var theParent = insertBeforeThis.parentNode;
theParent.insertBefore(dropdown,insertBeforeThis);
theParent.insertBefore(document.createElement("<br />"),dropdown);
 
// Store a global ref to it