diff --git a/code/HopObject/actions.js b/code/HopObject/actions.js deleted file mode 100644 index ce5356e5..00000000 --- a/code/HopObject/actions.js +++ /dev/null @@ -1,7 +0,0 @@ -/** - * wrapper to access colorpicker - */ - -function colorpicker_action() { - renderSkin("colorpicker"); -} diff --git a/code/Root/actions.js b/code/Root/actions.js index 1504c423..6b73b63f 100644 --- a/code/Root/actions.js +++ b/code/Root/actions.js @@ -3,12 +3,21 @@ * (contains js code safe from the user) */ -function safejs_action() { +function safescripts_action() { if (req.lastModified) res.notModified(); else { res.contentType = "text/javascript"; res.lastModified = new Date(); - renderSkin("safejs"); + this.renderSkin("safescripts"); } } + + +/** + * wrapper to access colorpicker + */ + +function colorpicker_action() { + renderSkin("colorpicker"); +}