aboutsummaryrefslogtreecommitdiff
path: root/src/js/forms.js
diff options
context:
space:
mode:
authorCamil Staps2015-05-20 17:05:58 +0200
committerCamil Staps2015-05-20 17:05:58 +0200
commitb52e4935cf8e2ef69d2f9bffaaac45fdde60e6bf (patch)
tree1497272b7bc9887e1485bb82252f10ead0addc46 /src/js/forms.js
parentFix bower bootswatch dependency (diff)
parentFixed gulpfile bug where // in a URL was turned into http:// automatically by... (diff)
Merge branch 'web-only' of ../../Botleagues_old
Diffstat (limited to 'src/js/forms.js')
-rw-r--r--src/js/forms.js12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/js/forms.js b/src/js/forms.js
deleted file mode 100644
index 24f0f43..0000000
--- a/src/js/forms.js
+++ /dev/null
@@ -1,12 +0,0 @@
-$('form.form-register').submit(function(){
- Botleagues.request({
- endpoint: 'user',
- method: 'POST',
- data: {
- email: $(this).find('input[name="email"]').val(),
- password: $(this).find('input[name="password"]').val()
- }
- }, BotleaguesCallback.register);
-
- event.preventDefault();
-}); \ No newline at end of file