Replace old DynTabMenu code with jQuery/RequireJS plugin
On the JS code sprint, the task to work on the DynTabMenu to be abstracted and
cleaned is done via RequireJS + jQuery.
A completely new jQuery plugin is written that stores the current selected tab ID
in the local storage (available in IE8+) or falls back to the first tab of the menu
The changes separates logic (JS) from structure (HTML), and removes
plain old JS.
Updated by Stanislas Rolland about 7 years ago
- Status changed from Resolved to New
Following this change, FormEngine->dynNestedStack is incorrect. It seems that the numbering of tabs has changed. But there are also sometimes more that one element at the same level in the stack.
Therefore the RTE cannot display correctly in a tab. Most obviously, the height of the iframe is wrong as well as the width of ExtJS comboboxes. This is because browsers cannot calculate and set dimensions inside an element with display: none.
The problem does not appear outside a tab. For example, when using the full screen RTE wizard.
The problem does not appear in IREE elements, it they are not inside a tab.
The problem occurs also in flexforms that are rendered with tabs containing RTE-enabled fields.