update oqs

This commit is contained in:
Aung Myo
2017-10-23 16:14:29 +06:30
parent 735dc228db
commit 14fc9b1a45
4 changed files with 100 additions and 90 deletions

View File

@@ -663,25 +663,21 @@ $(function(){
data: params,
dataType: "json",
success:function(result){
$("#loading_wrapper").hide();
$.confirm({
title: 'Infomation!',
content: "Order has been successfully created",
buttons: {
confirm: {
text: 'Ok',
btnClass: 'btn-green',
action: function(){
if(table_type == "Table"){
$("#loading_wrapper").hide();
swal({
title: "Infomation !",
text: 'Order has been successfully created',
confirmButtonColor: "green",
confirmButtonText: "Yes!",
closeOnConfirm: false,
}, function () {
if(table_type == "Table"){
window.location.href = "/origami/table/" + table_id
}
else {
window.location.href = "/origami/room/" + table_id
}
}
}
}
});
}
});
}
});
});