Updating bridge control to activate save button on list updates.

This commit is contained in:
Admin
2016-07-11 16:32:54 -05:00
parent 8d15d0a0fb
commit 6a5fae583f
2 changed files with 2 additions and 4 deletions

View File

@@ -5,7 +5,7 @@
<groupId>com.bwssystems.HABridge</groupId>
<artifactId>ha-bridge</artifactId>
<version>2.0.7-hal-h</version>
<version>2.0.7-hal-i</version>
<packaging>jar</packaging>
<name>HA Bridge</name>

View File

@@ -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() {