X-Git-Url: http://git.onelab.eu/?p=myops.git;a=blobdiff_plain;f=web%2Fquery%2Fvendor%2Fcouchapp%2Fevently%2Faccount%2FdoLogout.js;fp=web%2Fquery%2Fvendor%2Fcouchapp%2Fevently%2Faccount%2FdoLogout.js;h=62c851c5cfda9f7b8aa017a73162f2bd841220ff;hp=0000000000000000000000000000000000000000;hb=85070b3d456667f238051af1a2f1f2a0c12300ab;hpb=607f0e13927eb18075c375fa9ba5527da4fcbb44 diff --git a/web/query/vendor/couchapp/evently/account/doLogout.js b/web/query/vendor/couchapp/evently/account/doLogout.js new file mode 100644 index 0000000..62c851c --- /dev/null +++ b/web/query/vendor/couchapp/evently/account/doLogout.js @@ -0,0 +1,8 @@ +function() { + var elem = $(this); + $.couch.logout({ + success : function() { + elem.trigger("_init"); + } + }); +} \ No newline at end of file