Browse Source

Don't confirm product images deletation

Vova Tkach 5 years ago
parent
commit
79766b3950
2 changed files with 3 additions and 3 deletions
  1. 3 3
      assets/cp.scripts.js
  2. 0 0
      assets/cp.scripts.js.go

+ 3 - 3
assets/cp.scripts.js

@@ -7504,9 +7504,9 @@
 
 
 			ShopProductsDeleteImage: function(button, product_id, filename) {
 			ShopProductsDeleteImage: function(button, product_id, filename) {
 				if($(button).hasClass('in-progress')) return;
 				if($(button).hasClass('in-progress')) return;
-				if(!confirm('Are you sure want to delete image?')) {
-					return;
-				}
+				// if(!confirm('Are you sure want to delete image?')) {
+				// 	return;
+				// }
 				$(button).addClass('in-progress');
 				$(button).addClass('in-progress');
 				$.ajax({
 				$.ajax({
 					type: "POST",
 					type: "POST",

File diff suppressed because it is too large
+ 0 - 0
assets/cp.scripts.js.go


Some files were not shown because too many files changed in this diff