/usr/share/kde4/apps/plasma/dashboard/button/genericButton.js is in plasma-scriptengine-webkit 4:4.11.8-0ubuntu6.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 | function createGenericButton(placeElement,buttonText,clickHandler) {
var b = document.createElement("button");
b.appendChild(document.createTextNode(buttonText));
b.onclick = clickHandler;
placeElement.appendChild(b);
}
|