Pull from master
This commit is contained in:
@@ -119,7 +119,6 @@ $(function() {
|
||||
// $(".menu_sub_category").on("click", function(){
|
||||
$('.sub_category_list').addClass("hidden");
|
||||
var menu_id = $(this).attr("data-id");
|
||||
console.log(menu_id);
|
||||
var url = "get_menu_category/"+menu_id;
|
||||
show_menu_item_list(url,menu_id);
|
||||
});
|
||||
@@ -1092,7 +1091,12 @@ $(function() {
|
||||
if (type == true) {
|
||||
var table_type = $('#table_id').find("option:selected").data('type');
|
||||
var table_id = $('#table_id').val();
|
||||
window.location.href = "/origami/dashboard";
|
||||
if(window.location.href.includes("modify_order")){
|
||||
var link_url = window.location.href.split("/");
|
||||
window.location.href = "/origami/quick_service/pending_order/"+link_url[link_url.length - 1];
|
||||
}else{
|
||||
window.location.href = "/origami/dashboard";
|
||||
}
|
||||
}else{
|
||||
var table_type = $('#table_type').text();
|
||||
var table_id = $('#table_id').text();
|
||||
|
||||
Reference in New Issue
Block a user