moved function colorpicker_action() from hopobject/actions.js to root/actions.js

This commit is contained in:
Tobi Schäfer 2002-08-13 14:35:15 +00:00
parent d9960f1f5b
commit 4f02bce6b6
2 changed files with 11 additions and 9 deletions

View file

@ -1,7 +0,0 @@
/**
* wrapper to access colorpicker
*/
function colorpicker_action() {
renderSkin("colorpicker");
}

View file

@ -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");
}