You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@couchdb.apache.org by ro...@apache.org on 2014/06/16 23:22:27 UTC

[6/8] jquery-couch commit: updated refs/heads/pre-master to 4f5ad10

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 <mi...@gmail.com>
Authored: Tue Aug 7 18:10:06 2012 -0400
Committer: Robert Kowalski <ro...@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();
+          }
         }
       });
     },