Browse Source

Shop product images (fix file lost changes msg)

Vova Tkach 5 years ago
parent
commit
37a7254587
1 changed files with 1 additions and 1 deletions
  1. 1 1
      modules/module_shop.go

+ 1 - 1
modules/module_shop.go

@@ -967,7 +967,7 @@ func (this *Modules) RegisterModule_Shop() *Module {
 							this.shop_GetAllProductImages(wrap, data.A_id) +
 							`</div>` +
 							`<div class="list-button position-relative">` +
-							`<input class="form-control" type="file" id="file" name="file" style="font-size:13px;" /><button type="button" class="btn btn-success btn-dynamic-remove" onclick="fave.ShopProductsUploadImage('shop-upload-image', ` + utils.IntToStr(data.A_id) + `, 'file');">Upload</button>` +
+							`<input class="form-control ignore-lost-data" type="file" id="file" name="file" style="font-size:13px;" /><button type="button" class="btn btn-success btn-dynamic-remove" onclick="fave.ShopProductsUploadImage('shop-upload-image', ` + utils.IntToStr(data.A_id) + `, 'file');">Upload</button>` +
 							`</div>` +
 							`</div>` +
 							`</div>` +