You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In Internet Explorer 11 the shipping estimator will open but, when submitted, the form will not process and the console will receive the error SCRIPT438: Object doesn't support property or method 'before'.
Expected Behavior
The form should function in all browsers without errors
Correcting the Issue
To correct the issue, a new function needs to be added to the polyfills.js file. I have added this update and it will be included in the next maintenance release.
To make the update prior to the next release, you will need to add this code in User Interface -> JavaScript Resources -> polyfills:
/** * A basic polyfill for the before() method in Internet Explorer 9 and higher. * * https://developer.mozilla.org/en-US/docs/Web/API/ChildNode/before * https://github.com/jserz/js_piece/blob/master/DOM/ChildNode/before()/before().md */(function(arr){arr.forEach(function(item){if(item.hasOwnProperty('before')){return;}Object.defineProperty(item,'before',{configurable: true,enumerable: true,writable: true,value: functionbefore(){varargArr=Array.prototype.slice.call(arguments);vardocFrag=document.createDocumentFragment();argArr.forEach(function(argItem){varisNode=argIteminstanceofNode;docFrag.appendChild(isNode ? argItem : document.createTextNode(String(argItem)));});this.parentNode.insertBefore(docFrag,this);}});});})([Element.prototype,CharacterData.prototype,DocumentType.prototype]);
The text was updated successfully, but these errors were encountered:
In Internet Explorer 11 the shipping estimator will open but, when submitted, the form will not process and the console will receive the error
SCRIPT438: Object doesn't support property or method 'before'
.Expected Behavior
The form should function in all browsers without errors
Correcting the Issue
To correct the issue, a new function needs to be added to the
polyfills.js
file. I have added this update and it will be included in the next maintenance release.To make the update prior to the next release, you will need to add this code in
User Interface -> JavaScript Resources -> polyfills
:The text was updated successfully, but these errors were encountered: