From c8b6acdf59b9c18d94abcbb58af216683bf23658 Mon Sep 17 00:00:00 2001 From: Crack Date: Thu, 22 Jul 2010 17:02:17 +0200 Subject: [PATCH] remove debug use proper function to cancel event --- js/config.js | 2 +- prefs_forms.php | 2 -- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/js/config.js b/js/config.js index e0edb4c8d..24b6e169e 100644 --- a/js/config.js +++ b/js/config.js @@ -752,7 +752,7 @@ function offerPrefsAutoimport() return; } cnt.find('a').click(function(e) { - e.stopPropagation(); + e.preventDefault(); var a = $(this); if (a.attr('href') == '#no') { cnt.remove(); diff --git a/prefs_forms.php b/prefs_forms.php index 06cad1c7c..2ff08fca8 100644 --- a/prefs_forms.php +++ b/prefs_forms.php @@ -79,8 +79,6 @@ if (!$form_display->process(false)) { $form_display->display(true, true); } } -// todo: remove debug -$GLOBALS['error_handler']->dispAllErrors(); /** * Displays the footer