X-Git-Url: http://git.onelab.eu/?p=myops.git;a=blobdiff_plain;f=web%2Fquery%2Fvendor%2Fcouchapp%2Fevently%2Faccount%2FloginForm%2Fselectors%2Fform%2Fsubmit.js;fp=web%2Fquery%2Fvendor%2Fcouchapp%2Fevently%2Faccount%2FloginForm%2Fselectors%2Fform%2Fsubmit.js;h=b12d3bd21d6e350dcfd61af3ce329ac3ad08d9b3;hp=0000000000000000000000000000000000000000;hb=85070b3d456667f238051af1a2f1f2a0c12300ab;hpb=607f0e13927eb18075c375fa9ba5527da4fcbb44 diff --git a/web/query/vendor/couchapp/evently/account/loginForm/selectors/form/submit.js b/web/query/vendor/couchapp/evently/account/loginForm/selectors/form/submit.js new file mode 100644 index 0000000..b12d3bd --- /dev/null +++ b/web/query/vendor/couchapp/evently/account/loginForm/selectors/form/submit.js @@ -0,0 +1,6 @@ +function(e) { + var name = $('input[name=name]', this).val(), + pass = $('input[name=password]', this).val(); + $(this).trigger('doLogin', [name, pass]); + return false; +} \ No newline at end of file