diff --git a/plugins/dynamix/include/DefaultPageLayout.php b/plugins/dynamix/include/DefaultPageLayout.php index 5a9882d97..f00ac3b7e 100644 --- a/plugins/dynamix/include/DefaultPageLayout.php +++ b/plugins/dynamix/include/DefaultPageLayout.php @@ -692,7 +692,6 @@ $(function() { e.preventDefault(); formHasUnsavedChanges=true; }).on('submit',function(e){ - e.preventDefault(); formHasUnsavedChanges=false; }); $(window).on('beforeunload',function(e){if (formHasUnsavedChanges) return '';}); // note: the browser creates its own popup window and warning message