remove debug

use proper function to cancel event
This commit is contained in:
Crack
2010-07-22 17:02:17 +02:00
parent 7399ce3e61
commit c8b6acdf59
2 changed files with 1 additions and 3 deletions

View File

@@ -752,7 +752,7 @@ function offerPrefsAutoimport()
return; return;
} }
cnt.find('a').click(function(e) { cnt.find('a').click(function(e) {
e.stopPropagation(); e.preventDefault();
var a = $(this); var a = $(this);
if (a.attr('href') == '#no') { if (a.attr('href') == '#no') {
cnt.remove(); cnt.remove();

View File

@@ -79,8 +79,6 @@ if (!$form_display->process(false)) {
$form_display->display(true, true); $form_display->display(true, true);
} }
} }
// todo: remove debug
$GLOBALS['error_handler']->dispAllErrors();
/** /**
* Displays the footer * Displays the footer