...
|
...
|
@@ -24,14 +24,14 @@ if (window.NETSALEDATA && window.NETSALEDATA.baseProductInfo && window.NETSALEDA |
|
|
window.UMdescriptioner = UM.getEditor('edit-descriptioner');
|
|
|
if (window.NETSALEDATA && window.NETSALEDATA.productExtBo.productDesc && window.NETSALEDATA.productExtBo.productDesc) {
|
|
|
var reg1=new RegExp(".jpg","g");
|
|
|
window.NETSALEDATA.productExtBo.productDesc = window.NETSALEDATA.productExtBo.productDesc.replace(reg1,'.jpg?imageView2/0/q/10');
|
|
|
window.NETSALEDATA.productExtBo.productDesc = window.NETSALEDATA.productExtBo.productDesc.replace(reg1,'.jpg?imageView2/0/q/65');
|
|
|
UMdescriptioner.setContent(window.NETSALEDATA.productExtBo.productDesc)
|
|
|
};
|
|
|
|
|
|
/*保存描述*/
|
|
|
$(document).on("click", "#btn-descriptioner", function () {
|
|
|
var content = UMdescriptioner.getContent();
|
|
|
var reg2=new RegExp("\\?imageView2/0/q/10","g");
|
|
|
var reg2=new RegExp("\\?imageView2/0/q/65","g");
|
|
|
content = content.replace(reg2,'');
|
|
|
common.util.__ajax({
|
|
|
url:'/product/saveProductDesc',
|
...
|
...
|
|