[-] FO : ajax request to send message in order detail now use index.php?controller=order-detail
This commit is contained in:
1 parent
0facca0782
commit
9d7788c95f
1 file changed
+2
-2
@@ -106,13 +106,13 @@ function updateOrderLineDisplay(domCheckbox){
|
|||||||
|
|
||||||
//send a message in relation to the order with ajax
|
//send a message in relation to the order with ajax
|
||||||
function sendOrderMessage (){
|
function sendOrderMessage (){
|
||||||
paramString = "ajax=true";
|
paramString = "controller=order-detail&ajax=true";
|
||||||
$('form#sendOrderMessage').find('input, textarea').each(function(){
|
$('form#sendOrderMessage').find('input, textarea').each(function(){
|
||||||
paramString += '&' + $(this).attr('name') + '=' + encodeURI($(this).val());
|
paramString += '&' + $(this).attr('name') + '=' + encodeURI($(this).val());
|
||||||
});
|
});
|
||||||
$.ajax({
|
$.ajax({
|
||||||
type: "POST",
|
type: "POST",
|
||||||
url: baseDir + "order-detail.php",
|
url: baseDir + "index.php",
|
||||||
data: paramString,
|
data: paramString,
|
||||||
success: function (msg){
|
success: function (msg){
|
||||||
$('#block-order-detail').fadeOut('slow', function() {
|
$('#block-order-detail').fadeOut('slow', function() {
|
||||||
|
|||||||
Reference in new issue
Block a user