Go to System > Redirects
Click Redirect System Plugin link.
See browser's console.
Uncaught TypeError: this._element is undefined modal.js:538:5
Labels |
Added:
?
|
It appears to be an issue when no entries (empty state).
It appears to be an issue when no entries (empty state).
Ok, I will check where that could be failing
Edit: so there's a flaw in the empty state pages. The empty page overrides completely the default layout which in this case skips the rendering of the markup for the Modal and also skips loading the appropriate scripts. @PhilETaylor can we move the call for the empty page layout inside the default layout with the appropriate conditional? The other solution is to also pass the modal markdown to the empty page layout (less ideal as it won't be overridable). Another solution is to refactor the whole Modal factory but this is a bit bigger scope...
or just change the link to be /administrator/index.php?option=com_plugins&filter[search]=System%20-%20Redirect
or just change the link to be /administrator/index.php?option=com_plugins&filter[search]=System%20-%20Redirect
Actually, the link right now opens a modal for editing the state so you don't have to navigate away and come back. I don't mind changing the href but I guess there will be ppl that will complain that we destroying Joomla, etc...
Modals within modals on mobile soon break this workflow :)
There was a modal thing in empty state, forget which view its in... one mo
Search Joomla for "formAppend" and you will see the example where I had to append 'bootstrap.renderModal' for com_redirect
here:
@PhilETaylor can we move the call for the empty page layout inside the default layout with the appropriate conditional?
No. This is how I did it originally - and it lasted a few hours before @Bakual came along and said "lets use a layout instead" :-)
No. This is how I did it originally
I think we need to bring this bac, the modal for this link is rendered here:
haha :)
Umm, just add that part also to the emptystate layout of com_redirect. What is the problem? We do the same already for the batch modal.
Details :-p
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-05-06 18:54:34 |
Closed_By | ⇒ | Quy |
@Quy can you confirm that the markup is something similar to this (the important bit is the
data-bs-toggle
here):It works fine here without any errors so maybe you are using a language that has not updated the string yet?