summaryrefslogtreecommitdiffstats
path: root/module/web/templates
diff options
context:
space:
mode:
authorGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-05-14 15:37:58 +0200
committerGravatar RaNaN <Mast3rRaNaN@hotmail.de> 2011-05-14 15:37:58 +0200
commit9973f09a616900ab0900974da77d22b566598b5f (patch)
tree0669cdda0a367e1b53b7286f19b6aaf1b9e4004a /module/web/templates
parentrevert premium account change see #309 (diff)
downloadpyload-9973f09a616900ab0900974da77d22b566598b5f.tar.xz
improved some code style issues
Diffstat (limited to 'module/web/templates')
-rw-r--r--module/web/templates/default/filemanager_ui.js4
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));