Merge pull request #12836 from misslivirose/fix/close-create-domain-change

Go to tablet home / close Create menu when changing domains
This commit is contained in:
Liv 2018-04-18 09:29:04 -07:00 committed by GitHub
commit 7f6d210e93
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -455,6 +455,9 @@ var toolBar = (function () {
function initialize() {
Script.scriptEnding.connect(cleanup);
Window.domainChanged.connect(function () {
if (isActive) {
tablet.gotoHomeScreen();
}
that.setActive(false);
that.clearEntityList();
});