This is an automated email from the ASF dual-hosted git repository.
aharui pushed a commit to branch develop
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git
The following commit(s) were added to refs/heads/develop by this push:
new 8d5d29b need to remove modal window from list. Should fix #692
8d5d29b is described below
commit 8d5d29bab7973f05e8a3c5af5853a450ab890949
Author: Alex Harui <[email protected]>
AuthorDate: Thu Jan 23 14:04:38 2020 -0800
need to remove modal window from list. Should fix #692
---
.../projects/MXRoyale/src/main/royale/mx/managers/PopUpManager.as | 3 +++
1 file changed, 3 insertions(+)
diff --git
a/frameworks/projects/MXRoyale/src/main/royale/mx/managers/PopUpManager.as
b/frameworks/projects/MXRoyale/src/main/royale/mx/managers/PopUpManager.as
index 84f2607..97f79ef 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/managers/PopUpManager.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/managers/PopUpManager.as
@@ -248,7 +248,10 @@ public class PopUpManager
var popUpHost:IUIBase = (popUp.parent as IPopUpHostParent).popUpHost
as IUIBase;
UIUtils.removePopUp(popUp as IChild);
if (modalWindows.length > 0 && modalWindows[modalWindows.length - 1]
== popUp)
+ {
PopUpManagerModal.remove(popUpHost);
+ modalWindows.pop();
+ }
}
} // class
} // package