moved function colorpicker_action() from hopobject/actions.js to root/actions.js
This commit is contained in:
parent
d9960f1f5b
commit
4f02bce6b6
2 changed files with 11 additions and 9 deletions
|
@ -1,7 +0,0 @@
|
|||
/**
|
||||
* wrapper to access colorpicker
|
||||
*/
|
||||
|
||||
function colorpicker_action() {
|
||||
renderSkin("colorpicker");
|
||||
}
|
|
@ -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");
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue