Content deleted Content added
hate js :( |
rm some code, adding cats |
||
Line 21:
dropdown.onchange = new Function("editsummOnCannedSummarySelected()");
editsummAddCatToDropdown(dropdown,"Article");
editsummAddOptionToDropdown(dropdown,"add categories");
editsummAddOptionToDropdown(dropdown,"add category");
Line 64 ⟶ 65:
{
var option = document.createElement("option");
var optionTextNode = document.createTextNode(optionText);
option.appendChild(optionTextNode);
dropdown.appendChild(option);
}▼
function editsummAddCatToDropdown(dropdown,catText)
{▼
var option = document.createElement("option");
option.disabled = "disabled"
var optionTextNode = document.createTextNode(optionText);
option.appendChild(optionTextNode);
Line 84 ⟶ 94:
}
▲{
▲}
addOnloadHook(function (){
editsummInitialize ();
|