From 7cb0dcd6071d4b62343864de60dfca57be260fd4 Mon Sep 17 00:00:00 2001 From: Michael M Slusarz Date: Tue, 15 Dec 2009 22:21:04 -0700 Subject: [PATCH] This code isn't used. --- imp/js/dialog.js | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) 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) - { } }; -- 2.11.0