Redirect System Plugin
Save & Close
in the modale the same message is shown like in step 1.A message similar to other components that the plugin is enabled. This happen now if user reload the page:
Labels |
Added:
?
|
but the parent page doesn't know to reload automatically after you save and close the modal...
There's an event modal.bs.close
(or something like that) that is fired when the modal closes so you can listen for that event on the specific modal and just do a location.reload();
. Has a drawback that it will reload even if cancel was pressed but getting the state from the iframe is not something that the project has a known way to deal with it...
We already do something like this on the admin dashboard when you add a new module
joomla-cms/build/media_source/com_cpanel/js/admin-add_module.es6.js
Lines 61 to 73 in 0d61601
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2021-08-07 08:08:03 |
Closed_By | ⇒ | sandramay0905 | |
Labels |
Added:
?
Removed: ? |
This because you are doing all the work in the model but the parent page doesn't know to reload automatically after you save and close the modal...