Skip to content
This repository has been archived by the owner on Sep 6, 2021. It is now read-only.

Menus.removeMenu cleanup: remove all menu items and dividers prior to removing menu #5384

Merged
merged 6 commits into from
Oct 21, 2013
Merged

Menus.removeMenu cleanup: remove all menu items and dividers prior to removing menu #5384

merged 6 commits into from
Oct 21, 2013

Conversation

lkcampbell
Copy link
Contributor

No description provided.

@lkcampbell
Copy link
Contributor Author

This fix makes sure that none of the menu items and dividers on the menu being removed are orphaned. It is the final piece of functionality I need (hopefully) to implement a solution for issue #5078.

@ghost ghost assigned RaymondLim Oct 1, 2013
@RaymondLim
Copy link
Contributor

@lkcampbell Thanks for taking care of all the necessary changes for issue #5078. Unfortunately, I won't be able to review and merge this for sprint 32. Will review it when sprint 33 starts on next week.

@lkcampbell
Copy link
Contributor Author

@RaymondLim, if you get some time to commit this pull request this week or early next week, I have the time to submit the "Reload without user extension" pull request next week. That way, we might be able to get the feature in for Sprint 33.

@@ -877,6 +929,9 @@ define(function (require, exports, module) {
* Extensions should use the following format: "author.myextension.mymenuname".
*/
function removeMenu(id) {
var menu,
commandID = "";
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minor nit: Please remove those extra spaces before =.

@RaymondLim
Copy link
Contributor

@lkcampbell
Done with review. Just have one minor nit since you changes are complete and also pretty neat and tidy.

@lkcampbell
Copy link
Contributor Author

@RaymondLim, changes for code review done.

RaymondLim added a commit that referenced this pull request Oct 21, 2013
Menus.removeMenu cleanup: remove all menu items and dividers prior to removing menu
@RaymondLim RaymondLim merged commit 1009b84 into adobe:master Oct 21, 2013
@lkcampbell lkcampbell deleted the fix-remove-menu branch October 21, 2013 14:20
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants