diff options
author | Madhura Jayaratne <madhura.cj@gmail.com> | 2015-07-22 09:06:19 +0300 |
---|---|---|
committer | Madhura Jayaratne <madhura.cj@gmail.com> | 2015-07-22 09:06:19 +0300 |
commit | 487e1a8fa1e2b9fb30b64e3cf82e96196f5ce39e (patch) | |
tree | cf2030beb44c2aaa292a43efb5eeb890a180f848 /js/ajax.js | |
parent | 61640fc48832715cc46624c1705e3a51579036ca (diff) |
Fix floating. Fix styles for reported errors. Move inputs inside the form
Signed-off-by: Madhura Jayaratne <madhura.cj@gmail.com>
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' |