diff --git a/app/assets/javascripts/addorder.js b/app/assets/javascripts/addorder.js index 054627c7..4057bf5f 100755 --- a/app/assets/javascripts/addorder.js +++ b/app/assets/javascripts/addorder.js @@ -660,25 +660,25 @@ $(function() { url: ajax_url, data: params, dataType: "json", - success:function(result){ - $("#oqs_loading_wrapper").hide(); - swal({ - title: "Information !", - text: 'Order has been successfully created', - confirmButtonColor: "green", - confirmButtonText: "Yes!", - closeOnConfirm: false, - }, function (isConfirm) { - if (isConfirm) { + success:function(result){ + // $("#oqs_loading_wrapper").hide(); + // swal({ + // title: "Information !", + // text: 'Order has been successfully created', + // confirmButtonColor: "green", + // confirmButtonText: "Yes!", + // closeOnConfirm: false, + // }, function (isConfirm) { + // if (isConfirm) { if(table_type == "Table"){ window.location.href = "/origami/table/" + table_id } else { window.location.href = "/origami/room/" + table_id } - } - }); - } + // } + // }); + } }); });