xyj70 / fusionpbx

Automatically exported from code.google.com/p/fusionpbx
0 stars 0 forks source link

Menu order #311

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
Correction sugestion attached.

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

Attachments:

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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

GoogleCodeExporter commented 9 years ago
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