Skip to content
This repository was archived by the owner on Mar 14, 2020. It is now read-only.

[General] Create new one for no project case when tab changing#252

Closed
DonnaWuDongxia wants to merge 1 commit into
intel:masterfrom
DonnaWuDongxia:deleteProject
Closed

[General] Create new one for no project case when tab changing#252
DonnaWuDongxia wants to merge 1 commit into
intel:masterfrom
DonnaWuDongxia:deleteProject

Conversation

@DonnaWuDongxia

Copy link
Copy Markdown
Contributor

No description provided.

@DonnaWuDongxia

Copy link
Copy Markdown
Contributor Author

Hi, Geoff:
I checked this, layout view get designRoot from ADM, and ADM create a new design, if there is no ADM._design is null or not defined. But when initializing pmUtils, a project will be created(including a new design), and the old design which is created for no design case will be replaced. So, actually, layout view doesn't do extra-work.

@DonnaWuDongxia

Copy link
Copy Markdown
Contributor Author

So, this patch is OK, I think. You can still test it.

@DonnaWuDongxia

Copy link
Copy Markdown
Contributor Author

ADM tries to guarantee there is always a design, pageUtils tries to guarantee there always has a page, this delete handler and pmUtils tries to guarantee there always has a project.

@grgustaf

Copy link
Copy Markdown
Contributor

Merged.

@grgustaf grgustaf closed this Aug 29, 2012
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