diff options
Diffstat (limited to 'js/ajax.js')
-rw-r--r-- | js/ajax.js | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/js/ajax.js b/js/ajax.js index a5a70f91a7..13e388a58c 100644 --- a/js/ajax.js +++ b/js/ajax.js @@ -446,10 +446,12 @@ var AJAX = { .insertAfter('#selflink') .append(data._errors); // bind for php error reporting forms (bottom) - $("#pma_ignore_errors_bottom").bind("click", function() { + $("#pma_ignore_errors_bottom").bind("click", function(e) { + e.preventDefault(); PMA_ignorePhpErrors(); }); - $("#pma_ignore_all_errors_bottom").bind("click", function() { + $("#pma_ignore_all_errors_bottom").bind("click", function(e) { + e.preventDefault(); PMA_ignorePhpErrors(false); }); // In case of 'sendErrorReport'='always' |