Feature #17680

Make the folding/unfolding of the menu items use AJAX instead of reloading the frame

Added by Ingo Renner almost 8 years ago. Updated almost 5 years ago.

Status:Closed Start date:2007-10-15
Priority:Should have Due date:
Assigned To:Ingo Renner % Done:

0%

Category:- Spent time: -
Target version:-
PHP Version:4.3 Sprint Focus:
Complexity:

Description

Currently the menu in the left frame uses a page reload to fold/unfold menu groups, it would be better to use AJAX instead.

This is another step towards a frameless/only few frames backend.
(issue imported from #M6524)


Related issues

related to Core - Feature #17678: Change the frames BE to iframes Closed 2007-10-14
related to Core - Feature #18072: [Usability] Inline Palettes open too fast; add a smooth f... Closed 2008-01-29
duplicated by Core - Bug #18043: Toggle Menu in new backend Closed 2008-01-23

History

#1 Updated by Thomas Hempel almost 8 years ago

Why is it completely reloaded at all? Wouldn't it be smarter to load it completely at the beginning and just hide and show the sections via JavaScript?

I can't see the sence in fetching it from the server everytime a user collapses or expands a module section.

Anyway, AJAX would actaully be cooler than the current solution. ;-)

Greets,
Thomas

#2 Updated by Ingo Renner almost 8 years ago

currently it needs to get reloaded to save it's state in the BE user's uc...

therefore without reloading we need AJAX to store the state in uc

setting the uc via AJAX can be reused in other places anyways ...

#3 Updated by Thomas Hempel almost 8 years ago

Ahh, I see... than it makes sense to do it the AJAX way. :-D

Greets,
Thomas

#4 Updated by Benjamin Mack over 7 years ago

is this only going to happen for the new backend or the old one as well?

#5 Updated by Ingo Renner over 7 years ago

new backend first, old: who ever wants to

the point is that the new backend module menu is ul/li based whereas the old one is table based which makes this way easier with the new backend. The new ModuleMenu class is also implemented in a way that submodules can be rendered separately from the main modules which again makes it easier...

#6 Updated by Ingo Renner over 7 years ago

committed the patch from #18043 to trunk

Also available in: Atom PDF