xyj70 / fusionpbx

Automatically exported from code.google.com/p/fusionpbx

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Menu order

GoogleCodeExporter opened this issue · comments

When I add or edit a new menu/sub-menu, the field order isn't inserted 
correctly. 

System->Menu Manager->Edit

The page where this happens is core/menu/menu_edit.php

Original issue reported on code.google.com by valme...@wavecom.pt on 3 Sep 2012 at 1:43

Correction sugestion attached.


Original comment by sr...@wavecom.pt on 4 Sep 2012 at 5:02

Attachments:

menu_item_delete.php was fixed yesterday. I'll take a look at the other patch.

Original comment by markjcrane@gmail.com on 4 Sep 2012 at 6:35

  • Changed state: Accepted
Looked at the patch. 
Changed the 'Back' button using a link rather than browser history.
Menu add group your patch hid the add group when action not equal to 'update' 
however I moved the add group to a position where it works for both add and 
update. This approach allows you to add the group when creating the menu item 
saving one step rather than two. The browser redirect I have returning back to 
the same item in the menu in case you want to add or remove additional groups.

Original comment by markjcrane@gmail.com on 6 Sep 2012 at 8:46

Menu order for sub menus was intended to be alphabetical. I made some 
adjustments so that it will order the sub menu by the title in ascending order. 
Then hid the order number for sub menus.

Original comment by markjcrane@gmail.com on 6 Sep 2012 at 10:38

  • Changed state: Fixed