couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From robertkowal...@apache.org
Subject [6/8] jquery-couch commit: updated refs/heads/pre-master to 4f5ad10
Date Mon, 16 Jun 2014 21:22:27 GMT
Fixed broken complete callback for login


Project: http://git-wip-us.apache.org/repos/asf/couchdb-jquery-couch/repo
Commit: http://git-wip-us.apache.org/repos/asf/couchdb-jquery-couch/commit/0cbbfa9b
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-jquery-couch/tree/0cbbfa9b
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-jquery-couch/diff/0cbbfa9b

Branch: refs/heads/pre-master
Commit: 0cbbfa9b5b2ffcf30bdd31dc625854a1ac2af82a
Parents: 42f76f1
Author: Mike McKay <mikeymckay@gmail.com>
Authored: Tue Aug 7 18:10:06 2012 -0400
Committer: Robert Kowalski <rok@kowalski.gd>
Committed: Mon Jun 16 23:22:20 2014 +0200

----------------------------------------------------------------------
 jquery.couch.js | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/couchdb-jquery-couch/blob/0cbbfa9b/jquery.couch.js
----------------------------------------------------------------------
diff --git a/jquery.couch.js b/jquery.couch.js
index ffbad34..7252548 100644
--- a/jquery.couch.js
+++ b/jquery.couch.js
@@ -218,6 +218,9 @@
           } else {
             throw 'An error occurred logging in: ' + resp.reason;
           }
+          if (typeof options.complete === "function") {
+            options.complete();
+          }
         }
       });
     },


Mime
View raw message