mirror of
https://github.com/overte-org/overte.git
synced 2025-04-20 03:44:02 +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();
|
||||
});
|
||||
|
||||
Window.domainConnectionRefused.connect(function() {
|
||||
tablet.gotoHomeScreen();
|
||||
});
|
||||
|
||||
Entities.canAdjustLocksChanged.connect(function (canAdjustLocks) {
|
||||
if (isActive && !canAdjustLocks) {
|
||||
that.setActive(false);
|
||||
|
|
Loading…
Reference in a new issue