repo.or.cz
/
personal-kdebase.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
not quite so much needs to be delayed to the init() function
[personal-kdebase.git]
/
workspace
/
plasma
/
scriptengines
/
webkit
/
dashboard
/
button
/
genericButton.js
blob
464eda40f897904c0035a17b4e1b1afdc33f9b94
1
2
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);
8
}