couchdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From kxe...@apache.org
Subject [8/9] jquery-couch commit: updated refs/heads/master to ec5fa13
Date Fri, 31 Oct 2014 03:01:04 GMT
Fixed broken complete callback for login

Signed-off-by: Alexander Shorin <kxepal@apache.org>


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/dff79df3
Tree: http://git-wip-us.apache.org/repos/asf/couchdb-jquery-couch/tree/dff79df3
Diff: http://git-wip-us.apache.org/repos/asf/couchdb-jquery-couch/diff/dff79df3

Branch: refs/heads/master
Commit: dff79df382b2445ac58699d04f30e02e59af9808
Parents: 138f44a
Author: Mike McKay <mikeymckay@gmail.com>
Authored: Tue Aug 7 18:10:06 2012 -0400
Committer: Alexander Shorin <kxepal@apache.org>
Committed: Thu Jul 31 19:19:24 2014 +0400

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


http://git-wip-us.apache.org/repos/asf/couchdb-jquery-couch/blob/dff79df3/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