Commit 6662a20b authored by Leigh B Stoller's avatar Leigh B Stoller

Do not rely on just .change() method to see if a form has been

modified, also look at .on("input) which is fired immediately upon
typing in a field.
parent 37e92601
......@@ -169,6 +169,13 @@ $(function () {
form_modified = true;
$(form + ' :input').on("input", function () {
if (modified_callback) {
form_modified = true;
// Warn user if they have not saved changes.
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment