fixed generating icml bug highload block without sku
This commit is contained in:
parent
b4cadedadd
commit
5c94edd285
@ -740,7 +740,7 @@ if (file_exists($_SERVER["DOCUMENT_ROOT"]."/bitrix/php_interface/retailcrm/expor
|
|||||||
BX(obj.id.replace('SKU','PRODUCT')).value = 'none';
|
BX(obj.id.replace('SKU','PRODUCT')).value = 'none';
|
||||||
var bid = obj.id.replace('SKU','PRODUCT');
|
var bid = obj.id.replace('SKU','PRODUCT');
|
||||||
$("#" + bid).siblings('#highloadblock').remove();
|
$("#" + bid).siblings('#highloadblock').remove();
|
||||||
} else {
|
} else if(BX(obj.id.replace('PRODUCT','SKU'))) {
|
||||||
BX(obj.id.replace('PRODUCT','SKU')).value = 'none';
|
BX(obj.id.replace('PRODUCT','SKU')).value = 'none';
|
||||||
var bid = obj.id.replace('PRODUCT','SKU');
|
var bid = obj.id.replace('PRODUCT','SKU');
|
||||||
$("#" + bid).siblings('#highloadblock').remove();
|
$("#" + bid).siblings('#highloadblock').remove();
|
||||||
|
@ -595,7 +595,7 @@ if (!empty($oldValues)) {
|
|||||||
BX(obj.id.replace('SKU','PRODUCT')).value = 'none';
|
BX(obj.id.replace('SKU','PRODUCT')).value = 'none';
|
||||||
var bid = obj.id.replace('SKU','PRODUCT');
|
var bid = obj.id.replace('SKU','PRODUCT');
|
||||||
$("#" + bid).siblings('#highloadblock').remove();
|
$("#" + bid).siblings('#highloadblock').remove();
|
||||||
} else {
|
} else if(BX(obj.id.replace('PRODUCT','SKU'))){
|
||||||
BX(obj.id.replace('PRODUCT','SKU')).value = 'none';
|
BX(obj.id.replace('PRODUCT','SKU')).value = 'none';
|
||||||
var bid = obj.id.replace('PRODUCT','SKU');
|
var bid = obj.id.replace('PRODUCT','SKU');
|
||||||
$("#" + bid).siblings('#highloadblock').remove();
|
$("#" + bid).siblings('#highloadblock').remove();
|
||||||
|
Loading…
Reference in New Issue
Block a user