Add scripts to create myops-getqueryview:
[myops.git] / web / query / vendor / couchapp / evently / account / doLogout.js
diff --git a/web/query/vendor/couchapp/evently/account/doLogout.js b/web/query/vendor/couchapp/evently/account/doLogout.js
new file mode 100644 (file)
index 0000000..62c851c
--- /dev/null
@@ -0,0 +1,8 @@
+function() {
+  var elem = $(this);
+  $.couch.logout({
+    success : function() {
+      elem.trigger("_init");
+    }
+  });
+}
\ No newline at end of file