diff options
author | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-05-14 15:37:58 +0200 |
---|---|---|
committer | RaNaN <Mast3rRaNaN@hotmail.de> | 2011-05-14 15:37:58 +0200 |
commit | 9973f09a616900ab0900974da77d22b566598b5f (patch) | |
tree | 0669cdda0a367e1b53b7286f19b6aaf1b9e4004a /module/web/templates | |
parent | revert premium account change see #309 (diff) | |
download | pyload-9973f09a616900ab0900974da77d22b566598b5f.tar.xz |
improved some code style issues
Diffstat (limited to 'module/web/templates')
-rw-r--r-- | module/web/templates/default/filemanager_ui.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/module/web/templates/default/filemanager_ui.js b/module/web/templates/default/filemanager_ui.js index 0b801316c..ed64ab69d 100644 --- a/module/web/templates/default/filemanager_ui.js +++ b/module/web/templates/default/filemanager_ui.js @@ -104,7 +104,7 @@ var Item = new Class({ this.directories = []; this.files = []; this.actions = new Array(); - this.actions["delete"] = this.delete; + this.actions["delete"] = this.del; this.actions["rename"] = this.rename; this.actions["mkdir"] = this.mkdir; this.parseElement(); @@ -152,7 +152,7 @@ var Item = new Class({ //TODO sort the main ul again (to keep data ordered after renaming something) }, - delete: function(event) { + del: function(event) { $("confirm_form").removeEvents("submit"); $("confirm_form").addEvent("submit", this.deleteDirectory.bind(this)); |