Add scripts to create myops-getqueryview:
[myops.git] / web / query / vendor / couchapp / evently / account / loginForm / selectors / form / submit.js
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 (file)
index 0000000..b12d3bd
--- /dev/null
@@ -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