| Summary: | Find file named and search files dialog can be opened at the same time | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Curtis Windatt <curtis.windatt.public> |
| Component: | Client | Assignee: | libing wang <libingw> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | libingw |
| Version: | 5.0 | ||
| Target Milestone: | 5.0 M2 | ||
| Hardware: | PC | ||
| OS: | Windows 7 | ||
| Whiteboard: | |||
|
Description
Curtis Windatt
This is more like a generic issue. I do not think we should even allow two modal dialogs appear from the same parent. That says you can still open another modal dialog from a modal dialog though. We need to rethink about the implementation of dialog.js. Although not a perfect solution but we may want a modal dialog manager globally. 1. It should make sure there is only one dialog opened whose parent is the document DIV. 2. There are other cases where multiple modal dialogues appear, e.g., the site editor case. But those dialogues should be opened from within the parent dialogues. fixed with http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=e79a92f02fc391cf8e2c278bb012ed19925fe008. Now only one modal dialog can appear at a time unless there is a child modal dialog. Currently, site editor, git clone dialog and SFTP connection command have one level child modal dialogs. I've tested those cases as well. refactor the modal dialog manager into dialog.js with http://git.eclipse.org/c/orion/org.eclipse.orion.client.git/commit/?id=203a4490b68cf0f7359fa36eb6eeaa00be8f8617 |