Never
on the Stats alertthis.parentNode is null [joomla-alert.js:84:9]
close() {
this.dispatchCustomEvent('joomla.alert.close');
this.addEventListener("transitionend", function () {
this.dispatchCustomEvent('joomla.alert.closed');
this.parentNode.removeChild(this); <<<<<<<<<<< this line causing the error
}, false);
this.classList.remove('joomla-alert--show');
}
Labels |
Added:
?
|
Status | New | ⇒ | Discussion |
Category | ⇒ | JavaScript |
Will or wont?
Closed as this has been resolved elsewhere and is no longer reproducable
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-06-17 21:56:13 |
Closed_By | ⇒ | brianteeman | |
Labels |
Added:
J4 Issue
|
Closed as this has been resolved elsewhere and is no longer reproducable
I still can reproduce it with nightly build J4 of today.
TypeError: this.parentNode is null 4 joomla-alert.min.js:1:1874
close/< /media/vendor/joomla-custom-elements/js/joomla-alert.min.js:1:1874
c /media/vendor/webcomponentsjs/js/webcomponents-sd-ce.min.js:1:22278
joomla-alert.min.js?0aa903f1b65e1f49dd6ad3af682cceac:1 Uncaught TypeError: Cannot read property 'removeChild' of null
at HTMLElement.<anonymous> (joomla-alert.min.js?0aa903f1b65e1f49dd6ad3af682cceac:1)
(anonymous) @ joomla-alert.min.js?0aa903f1b65e1f49dd6ad3af682cceac:1
@C-Lodder don't bother, alerts are currently rewritten from scratch, so this won't be fixed