Commit a4227291adfe670e93e66ce97af3133bff7f266e
- Diff rendering mode:
- inline
- side by side
templates/user.html
(1 / 0)
  | |||
53 | 53 | data = $('#password').val(); | |
54 | 54 | $.post({{ url_for('user')| tojson| safe }}, {'user':$("#user").val(), "key":data}, function(data){ | |
55 | 55 | /*TODO: In the UI flash a "check mark", to indicate success.*/ | |
56 | $("button").addClass("btn-success"); | ||
56 | 57 | console.log("Success"); | |
57 | 58 | }); | |
58 | 59 |