Skip to content

Commit 1adecf4

Browse files
committed
ACP2E-182: Error while validating Store VAT Number
1 parent 9ab0534 commit 1adecf4

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

app/code/Magento/Customer/view/adminhtml/templates/system/config/validatevat.phtml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,11 @@ require(['prototype'], function(){
4141
validationMessage.setStyle({color:'green'});
4242
} else {
4343
validationMessage.removeClassName('hidden').addClassName('admin__field-error');
44+
if (validationMessage.style.removeProperty) {
45+
validationMessage.style.removeProperty('color');
46+
} else {
47+
validationMessage.style.removeAttribute('color');
48+
}
4449
}
4550
} catch (e) {
4651
validationMessage.removeClassName('hidden').addClassName('admin__field-error');

0 commit comments

Comments
 (0)