From 912a98b6d84c6eec826b0c522b77673ab1de666c Mon Sep 17 00:00:00 2001 From: RaNaN Date: Thu, 16 Sep 2010 13:38:31 +0200 Subject: reconnect fix, unrar fix --- module/web/templates/default/package_ui.js | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) (limited to 'module/web/templates/default/package_ui.js') diff --git a/module/web/templates/default/package_ui.js b/module/web/templates/default/package_ui.js index 751780180..6ef254e6a 100644 --- a/module/web/templates/default/package_ui.js +++ b/module/web/templates/default/package_ui.js @@ -70,7 +70,7 @@ var PackageUI = new Class({ revert: true, opacity: 0.4, handle: ".package_drag", - onStart: this.startSort, + //onStart: this.startSort, onComplete: this.saveSort.bind(this) }); }, @@ -266,7 +266,8 @@ var Package = new Class({ onSuccess: function(){ this.ele.nix(); indicateFinish(); - }.bind(this) + }.bind(this), + onFailure: indicateFail }).send(); event.stop(); }, @@ -286,7 +287,8 @@ var Package = new Class({ this.linksLoaded = false; indicateSuccess(); - }.bind(this) + }.bind(this), + onFailure: indicateFail }).send(); event.stop(); }, @@ -299,7 +301,8 @@ var Package = new Class({ onSuccess: function(){ this.ele.nix(); indicateFinish(); - }.bind(this) + }.bind(this), + onFailure: indicateFail }).send(); event.stop(); }, -- cgit v1.2.3