1
0
mirror of synced 2024-11-22 05:16:09 +03:00

fixed generating icml bug highload block without sku

This commit is contained in:
Konstantin 2019-05-07 16:41:57 +03:00
parent b4cadedadd
commit 5c94edd285
2 changed files with 2 additions and 2 deletions

View File

@ -740,7 +740,7 @@ if (file_exists($_SERVER["DOCUMENT_ROOT"]."/bitrix/php_interface/retailcrm/expor
BX(obj.id.replace('SKU','PRODUCT')).value = 'none';
var bid = obj.id.replace('SKU','PRODUCT');
$("#" + bid).siblings('#highloadblock').remove();
} else {
} else if(BX(obj.id.replace('PRODUCT','SKU'))) {
BX(obj.id.replace('PRODUCT','SKU')).value = 'none';
var bid = obj.id.replace('PRODUCT','SKU');
$("#" + bid).siblings('#highloadblock').remove();

View File

@ -595,7 +595,7 @@ if (!empty($oldValues)) {
BX(obj.id.replace('SKU','PRODUCT')).value = 'none';
var bid = obj.id.replace('SKU','PRODUCT');
$("#" + bid).siblings('#highloadblock').remove();
} else {
} else if(BX(obj.id.replace('PRODUCT','SKU'))){
BX(obj.id.replace('PRODUCT','SKU')).value = 'none';
var bid = obj.id.replace('PRODUCT','SKU');
$("#" + bid).siblings('#highloadblock').remove();