diff --git a/pom.xml b/pom.xml index b2e9c3c..9d322e9 100644 --- a/pom.xml +++ b/pom.xml @@ -5,7 +5,7 @@ com.bwssystems.HABridge ha-bridge - 2.0.7-hal-h + 2.0.7-hal-i jar HA Bridge diff --git a/src/main/resources/public/scripts/app.js b/src/main/resources/public/scripts/app.js index 545e8eb..e03f13b 100644 --- a/src/main/resources/public/scripts/app.js +++ b/src/main/resources/public/scripts/app.js @@ -599,7 +599,7 @@ app.controller('SystemController', function ($scope, $location, $http, $window, bridgeService.viewConfigs(); $scope.bridge = bridgeService.state; $scope.optionalbackupname = ""; - $scope.isInControl = false; + $scope.bridge.isInControl = false; $scope.visible = false; $scope.imgUrl = "glyphicon glyphicon-plus"; $scope.addVeratoSettings = function (newveraname, newveraip) { @@ -667,11 +667,9 @@ app.controller('SystemController', function ($scope, $location, $http, $window, } }; $scope.bridgeReinit = function () { - $scope.isInControl = false; bridgeService.reinit(); }; $scope.bridgeStop = function () { - $scope.isInControl = false; bridgeService.stop(); }; $scope.saveSettings = function() {