From: Michael M Slusarz Date: Wed, 16 Dec 2009 05:21:04 +0000 (-0700) Subject: This code isn't used. X-Git-Url: https://git.internetallee.de/?a=commitdiff_plain;h=7cb0dcd6071d4b62343864de60dfca57be260fd4;p=horde.git This code isn't used. --- diff --git a/imp/js/dialog.js b/imp/js/dialog.js index 8ea7321d5..bbf5c80ed 100644 --- a/imp/js/dialog.js +++ b/imp/js/dialog.js @@ -71,7 +71,7 @@ var IMPDialog = { var params = $H((!this.params || Object.isArray(this.params)) ? {} : this.params); params.update(e.findElement('form').serialize(true)); - new Ajax.Request(this.uri, { parameters: params, onSuccess: this._onSuccess.bind(this), onFailure: this._onFailure.bind(this) }); + new Ajax.Request(this.uri, { parameters: params, onSuccess: this._onSuccess.bind(this) }); }, _onSuccess: function(r) @@ -92,10 +92,6 @@ var IMPDialog = { } else if (r.response.error) { alert(r.response.error); } - }, - - _onFailure: function(r) - { } };