brantje/passman — pull request #31 by Xefir (2014-08-03 16:21:17+00:00)
Title: Fix redirect when submit dialog

Hi !

This is a annoying bug that appear some commit before (don't know witch).
When you validate a new/edit a password, you were redirect on /apps/passman/ instead of doing an ajax request.
Same for the Cancel button.
For some reason, jQuery force to validate the form when you don't return false en button click.

This fix also a problem appear after fixing the previous bug : the Save button, if you fail something, kept disabled.

Have a nice day ! :-)