This code isn't used.
authorMichael M Slusarz <slusarz@curecanti.org>
Wed, 16 Dec 2009 05:21:04 +0000 (22:21 -0700)
committerMichael M Slusarz <slusarz@curecanti.org>
Wed, 16 Dec 2009 05:21:04 +0000 (22:21 -0700)
imp/js/dialog.js

index 8ea7321..bbf5c80 100644 (file)
@@ -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)
-    {
     }
 
 };