mirror of
https://github.com/overte-org/overte.git
synced 2025-08-10 01:24:36 +02:00
add handler to refused domain change connections
This commit is contained in:
parent
6f020a7ec8
commit
7f01dded79
1 changed files with 4 additions and 0 deletions
|
@ -460,6 +460,10 @@ var toolBar = (function () {
|
||||||
tablet.gotoHomeScreen();
|
tablet.gotoHomeScreen();
|
||||||
});
|
});
|
||||||
|
|
||||||
|
Window.domainConnectionRefused.connect(function() {
|
||||||
|
tablet.gotoHomeScreen();
|
||||||
|
});
|
||||||
|
|
||||||
Entities.canAdjustLocksChanged.connect(function (canAdjustLocks) {
|
Entities.canAdjustLocksChanged.connect(function (canAdjustLocks) {
|
||||||
if (isActive && !canAdjustLocks) {
|
if (isActive && !canAdjustLocks) {
|
||||||
that.setActive(false);
|
that.setActive(false);
|
||||||
|
|
Loading…
Reference in a new issue