Content deleted Content added
more |
fix |
||
Line 1:
// The original value of the edit summary field is stored here
var editsummOriginalSummary = new String();
Line 9 ⟶ 10:
// Save the original value of the edit summary field
editsummOriginalSummary = document.getElementById("wpSummary").value;
// For convenience, add a dropdown box with some canned edit
// summaries to the form.
Line 16 ⟶ 17:
dropdown.onchange = new Function("editsummOnCannedSummarySelected()");
editsummAddOptionToDropdown(dropdown,"Choose a Default Edit Summary");
editsummAddOptionToDropdown(dropdown,"add categories");
editsummAddOptionToDropdown(dropdown,"add category");
Line 50 ⟶ 51:
var theParent = insertBeforeThis.parentNode;
theParent.insertBefore(dropdown,insertBeforeThis);
theParent.insertBefore(document.createTextNode("<br />"),dropdown);
// Store a global ref to it
|