not quite so much needs to be delayed to the init() function
[personal-kdebase.git] / workspace / plasma / scriptengines / webkit / dashboard / button / genericButton.js
blob464eda40f897904c0035a17b4e1b1afdc33f9b94
3 function createGenericButton(placeElement,buttonText,clickHandler) {
4   var b = document.createElement("button");
5   b.appendChild(document.createTextNode(buttonText));
6   b.onclick = clickHandler;
7   placeElement.appendChild(b);