update feedback testing
This commit is contained in:
@@ -387,7 +387,7 @@
|
||||
success:function(result){
|
||||
$("#loading_wrapper").hide();
|
||||
swal({
|
||||
title: "Infomation!",
|
||||
title: "Information!",
|
||||
text: result.status,
|
||||
}, function () {
|
||||
if(result.table_type == "Table"){
|
||||
@@ -410,7 +410,7 @@
|
||||
// Selected Items
|
||||
var sale_items = get_selected_sale_items();
|
||||
if(sale_items.length == 0){
|
||||
//swal("Infomation!", "You have no selected item!");
|
||||
//swal("Information!", "You have no selected item!");
|
||||
swal ( "Oops" , "You have no selected item!" , "error" );
|
||||
}
|
||||
|
||||
@@ -430,7 +430,7 @@
|
||||
data: params,
|
||||
success: function(result){
|
||||
swal({
|
||||
title: "Infomation!",
|
||||
title: "Information!",
|
||||
text: result.status,
|
||||
type: "success",
|
||||
}, function () {
|
||||
@@ -453,7 +453,7 @@
|
||||
url: "/origami/" + sale_id + "/remove_all_discount",
|
||||
success: function(result){
|
||||
swal({
|
||||
title: "Infomation!",
|
||||
title: "Information!",
|
||||
text: result.status,
|
||||
type: "success",
|
||||
}, function () {
|
||||
@@ -497,7 +497,7 @@
|
||||
btn_color = 'red'
|
||||
}
|
||||
swal({
|
||||
title: "Infomation!",
|
||||
title: "Information!",
|
||||
text: result.status,
|
||||
confirmButtonText: 'OK',
|
||||
confirmButtonColor: btn_color,
|
||||
|
||||
Reference in New Issue
Block a user