From d8db6c8ba7d7c676aeaed146bc4e0c2762c46c5c Mon Sep 17 00:00:00 2001 From: rGaillard Date: Fri, 9 Mar 2012 17:19:39 +0000 Subject: [PATCH] // Fix small bugs on backoffice orders --- .../themes/default/template/controllers/orders/form.tpl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/admin-dev/themes/default/template/controllers/orders/form.tpl b/admin-dev/themes/default/template/controllers/orders/form.tpl index 684f0da0b..4fe5401f8 100755 --- a/admin-dev/themes/default/template/controllers/orders/form.tpl +++ b/admin-dev/themes/default/template/controllers/orders/form.tpl @@ -78,9 +78,11 @@ $(this).html(txt_show_carts); $('#old_carts_orders').slideUp('slow'); } + return false; }); $('#send_email_to_customer').click(function(){ sendMailToCustomer(); + return false; }); $('#show_old_carts').click(); $.ajaxSetup({ type:"post" }); @@ -162,6 +164,7 @@ $('.use_cart').live('click', function(e) { e.preventDefault(); useCart($(this).attr('rel')); + return false; }); $('.duplicate_order').live('click', function(e) { @@ -400,7 +403,7 @@ $.each(res.customers, function() { html += '
  • '+this.firstname+' '+this.lastname+' '+((this.birthday) ? this.birthday : '')+'
    '; html += ''; - html += '{l s='Choose'}
  • '; + html += '{l s='Choose'}'; }); html += ''; } @@ -1030,7 +1033,7 @@

       - {l s='Reset shipping price'} + {l s='Reset shipping price'}