We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 1373cb5 commit 111a92fCopy full SHA for 111a92f
js/mage/adminhtml/form.js
@@ -611,4 +611,6 @@ function setPostcodeOptional(zipElement, country) {
611
}
612
613
614
-varienGlobalEvents.attachEventHandler("address_country_changed", onAddressCountryChanged);
+if (typeof varienGlobalEvents != 'undefined') {
615
+ varienGlobalEvents.attachEventHandler("address_country_changed", onAddressCountryChanged);
616
+}
0 commit comments