From 9d7788c95f84ba7ca81d790b96f6baaa2c05b848 Mon Sep 17 00:00:00 2001 From: vAugagneur Date: Mon, 12 Sep 2011 12:21:44 +0000 Subject: [PATCH] [-] FO : ajax request to send message in order detail now use index.php?controller=order-detail --- themes/prestashop/js/history.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/themes/prestashop/js/history.js b/themes/prestashop/js/history.js index d2da00950..e27ca7260 100644 --- a/themes/prestashop/js/history.js +++ b/themes/prestashop/js/history.js @@ -106,13 +106,13 @@ function updateOrderLineDisplay(domCheckbox){ //send a message in relation to the order with ajax function sendOrderMessage (){ - paramString = "ajax=true"; + paramString = "controller=order-detail&ajax=true"; $('form#sendOrderMessage').find('input, textarea').each(function(){ paramString += '&' + $(this).attr('name') + '=' + encodeURI($(this).val()); }); $.ajax({ type: "POST", - url: baseDir + "order-detail.php", + url: baseDir + "index.php", data: paramString, success: function (msg){ $('#block-order-detail').fadeOut('slow', function() {