Skip to content
Browse files

Remove unused javascript function. Fixes issue #183 and #184

  • Loading branch information...
1 parent f0b9d23 commit a0ae703215e5952d96a0f63f4013b7c178b3fb71 @markkevans markkevans committed with acidvertigo Aug 28, 2011
Showing with 3 additions and 3 deletions.
  1. +1 −1 catalog/account_newsletters.php
  2. +2 −2 catalog/account_notifications.php
View
2 catalog/account_newsletters.php
@@ -57,7 +57,7 @@
<div class="contentText">
<table border="0" cellspacing="2" cellpadding="2">
<tr>
- <td><?php echo tep_draw_checkbox_field('newsletter_general', '1', (($newsletter['customers_newsletter'] == '1') ? true : false), 'onclick="checkBox(\'newsletter_general\')"'); ?></td>
+ <td><?php echo tep_draw_checkbox_field('newsletter_general', '1', (($newsletter['customers_newsletter'] == '1') ? true : false)); ?></td>
<td><strong><?php echo MY_NEWSLETTERS_GENERAL_NEWSLETTER; ?></strong><br /><?php echo MY_NEWSLETTERS_GENERAL_NEWSLETTER_DESCRIPTION; ?></td>
</tr>
</table>
View
4 catalog/account_notifications.php
@@ -88,7 +88,7 @@
<div class="contentText">
<table border="0" width="100%" cellspacing="0" cellpadding="2">
<tr>
- <td width="30"><?php echo tep_draw_checkbox_field('product_global', '1', (($global['global_product_notifications'] == '1') ? true : false), 'onclick="checkBox(\'product_global\')"'); ?></td>
+ <td width="30"><?php echo tep_draw_checkbox_field('product_global', '1', (($global['global_product_notifications'] == '1') ? true : false)); ?></td>
<td><strong><?php echo GLOBAL_NOTIFICATIONS_TITLE; ?></strong><br /><?php echo GLOBAL_NOTIFICATIONS_DESCRIPTION; ?></td>
</tr>
</table>
@@ -119,7 +119,7 @@
?>
<tr>
- <td width="30"><?php echo tep_draw_checkbox_field('products[' . $counter . ']', $products['products_id'], true, 'onclick="checkBox(\'products[' . $counter . ']\')"'); ?></td>
+ <td width="30"><?php echo tep_draw_checkbox_field('products[' . $counter . ']', $products['products_id'], true); ?></td>
<td><strong><?php echo $products['products_name']; ?></strong></td>
</tr>

0 comments on commit a0ae703

Please sign in to comment.
Something went wrong with that request. Please try again.