This issue deals with module workflow. When you open a module and save/close, which ever tab you saved the module on is the tab presented when you open the next module and it has caused a few issues for our site. The issue I have found is that when you open an existing module and apply that module to a menu item and then save/close the module while still on the "Menu Assignment" tab, when you open another module the module tab goes right to where you last saved, in this case the "Menu Assignment" tab. This seemed handy at first but then I realized I was loosing all of my custom code in my custom modules because the module was opening right to the Menu Assignment tab and the first tab was toggled from Code Only to the WYSIWYG mode. Causing of course, the loss of my custom html code.
I would expect to always open a custom module, or any module for that matter, directly to the first tab, the "Module" tab. Showing if the Module was toggled on Code or on the WYSIWYG.
When you open a module, the module opens to which ever tab you had up when you clicked save last. So if the module is toggled to the WYSIWYG you do not see it and you save, loosing your custom code.
Running Joomla 3.7 and have seen same behavior in Chrome and Firefox.
The only thing that has changed with 3.7.0 is that now the "stored" tab isn't persistent anymore. If you close the browser, it will reset.
The idea of the code is that when you press "Save" (not "Save & Close") you stay on the active tab and don't jump back to the first.
Imho, it may be improved to store the state per item (eg take into account the item ID) and not globally for all items of the same view.
Thanks for the details and we'll change our workflow accordingly. Thanks for all your hard work!
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2017-04-27 13:02:50 |
Closed_By | ⇒ | yarntoad |
How about changing your workflow and always clicking the tab with the content before clicking save?
This feature is not new to Joomla, but since 3.7 is working as intended