Commit 21c4706b authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

xhtml_style: disable installDoubleSubmitDialogPrevention in formwizard case.

parent b64c770c
...@@ -359,13 +359,14 @@ function installDoubleSubmitDialogPrevention(confirmation_message) { ...@@ -359,13 +359,14 @@ function installDoubleSubmitDialogPrevention(confirmation_message) {
/* Install an handler to prevent submitting a dialog twice. */ /* Install an handler to prevent submitting a dialog twice. */
$(document).ready( function() { $(document).ready( function() {
$(".dialog_submit_button").on("click", function(e){ $(".dialog_submit_button").on("click", function(e){
$(this).on("click.confirm", function(event) { if ($(this).val() != "Next") {
$(this).off(".confirm"); $(this).on("click.confirm", function(event) {
if (! confirm(confirmation_message) ) { $(this).off(".confirm");
event.preventDefault(); if (! confirm(confirmation_message) ) {
} event.preventDefault();
}); }
});
}
}); });
}); });
} }
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