User:ILHI/monobook.js

document.write(' ');

// ************************************************** // Edit summaries // **************************************************

function fillEditSummaries {   var label = document.getElementById("wpSummaryLabel");

if(label == null) return;

var comboString = "Summary: "; comboString += " "; label.innerHTML = comboString + label.innerHTML;

requestComboFill('stdSummaries', 'User:ILHI/Stdsummaries'); }

function onStdSummaryChange {   var combo = document.getElementById("stdSummaries"); var value = combo.options[combo.selectedIndex].value;

if(value != "") document.getElementById("wpSummary").value = value; }

addOnloadHook(fillEditSummaries);