From 6a5fae583f078b964d626d8dbf586788eb4b416f Mon Sep 17 00:00:00 2001 From: Admin Date: Mon, 11 Jul 2016 16:32:54 -0500 Subject: [PATCH] Updating bridge control to activate save button on list updates. --- pom.xml | 2 +- src/main/resources/public/scripts/app.js | 4 +--- 2 files changed, 2 insertions(+), 4 deletions(-) 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() {