wearerequired / admin-menu-manager

Manage the WordPress admin menu using a simple drag & drop interface.
https://wordpress.org/plugins/admin-menu-manager/
GNU General Public License v2.0
61 stars 6 forks source link

Can't get sub menus back to original position #8

Closed tmconnect closed 9 years ago

tmconnect commented 9 years ago

I dragged the "Add New" item from the "Pages" menu into the root of the admin menu. After that the "Pages" menu doesn't have any submenu and therefore I can't set the "Add New" menu item not back to the "Pages" menu as a sub item.

swissspidy commented 9 years ago

Thanks for reporting this!

I also thought about this before and made some comments in the JS about it here and here. I will have to think about a nice way to implement this, especially in relation to #3.

swissspidy commented 9 years ago

@tmconnect I just pushed some changes to the develop branch that help improve this. I successfully tested with the scenario you described as well as making Jetpack a sub item of the Dashboard, or Design a sub item of Comments.

There are just a couple of things I want to work as a follow-up, but this specific bug should be fixed. Can you test that please?

tmconnect commented 9 years ago

@swissspidy Thanks for your quick reply. I tested the develop branch and yes it works as aspected. Now I'm able to get a menu item as a sub menu into a main menu item. This means, that an original sub menu item could get back to its original position.

Thanks Thomas