diff options
| author | Alon Levy <alon@pobox.com> | 2015-01-12 12:52:40 +0200 |
|---|---|---|
| committer | Alon Levy <alon@pobox.com> | 2015-01-12 12:55:11 +0200 |
| commit | 5e80077fae6495901e9c7576995ded06a1dde5c8 (patch) | |
| tree | 6717e10f5f3e59179e0c6ec5abbb5c1feb2a7630 /src/client | |
| parent | 944618160f5c974bbe463f1a7e0572ea76a476e4 (diff) | |
client/server: login is using POST, so use POST, not XMLHttpRequest
TODO: Logout requires styling plus only to appear if logged in.
Diffstat (limited to 'src/client')
| -rw-r--r-- | src/client/buttons.js | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/src/client/buttons.js b/src/client/buttons.js index e29a1729..5fd8d121 100644 --- a/src/client/buttons.js +++ b/src/client/buttons.js @@ -67,11 +67,6 @@ $('.local-storage-load a').click(function(){ rz_core.load_from_json(json_blob); }); -var logout_button = $('#logout-button'); -logout_button.click(function() { - $.ajax({ type: "POST", url: '/logout'}); // server should redirect back to /login -}); - $('a.save-history').click(function() { if (rz_core.main_graph.history === undefined) { throw "History is undefined"; |
