Commit a4227291adfe670e93e66ce97af3133bff7f266e

  • avatar
  • arvind
  • Mon Jun 24 20:01:45 IST 2013
Adding a UI response for successive submit in the template/users.html
  • Diff rendering mode:
  • inline
  • side by side

templates/user.html

53data = $('#password').val();53data = $('#password').val();
54$.post({{ url_for('user')| tojson| safe }}, {'user':$("#user").val(), "key":data}, function(data){54$.post({{ url_for('user')| tojson| safe }}, {'user':$("#user").val(), "key":data}, function(data){
55/*TODO: In the UI flash a "check mark", to indicate success.*/55/*TODO: In the UI flash a "check mark", to indicate success.*/
56$("button").addClass("btn-success");
56console.log("Success");57console.log("Success");
57});58});
5859