Attempt to insert a CONTACT using the CMS Content dropdown in the editor in admin when editing a CUSTOM MODULE
Select the contact from the list in the modal
The modal closes
JS issue
Uncaught TypeError: window.parent.jModalClose is not a function
similar to #20496 BUT DIFFERENT ENOUGH to raise different issue as different error message and probable cause
Labels |
Added:
?
|
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-05-19 22:18:51 |
Closed_By | ⇒ | brianteeman |
Status | Closed | ⇒ | New |
Closed_Date | 2018-05-19 22:18:51 | ⇒ | |
Closed_By | brianteeman | ⇒ |
oops pressed the wrong button
but this should work until the modals are redone.
So here is the actual situation: we removed the moo tools code and effectively the method jModalClose. We need a replacement for it and although it is painful to see things break, it is far more wise to get the API correctly for the entire life of J4.
Other modals are closing ok - so there should be an easy fix to close this modal... like the others.
Not true, switch to codemirror and observe that none of the modals actually close. Anyways alpha is not about quick fixes, as I said the API needs to be the best we can provide as it's gonna last for the entire life of J4
We can't keep applying bandaid quick fixes to keep something usable until its replacement is fully ready, we don't have the time or resources to be doing that. We know it's broken, we know what the replacement is, help test/review said replacement so the issue gets fixed, or look for the dozen or so of us working on all these things to have less time to spend on things because we're working on bandaid quick fixes.
Status | New | ⇒ | Discussion |
Category | ⇒ | com_contact JavaScript |
Labels |
Added:
J4 Issue
|
Status | Discussion | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2018-05-31 13:14:54 |
Closed_By | ⇒ | brianteeman |
Cannot replicate