From 625920282ae316f4404af953e9dc06747214b57f 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 git-svn-id: http://dev.prestashop.com/svn/v1/branches/1.5.x@8492 b9a71923-0436-4b27-9f14-aed3839534dd --- 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() {