mirror of
https://github.com/bwssytems/ha-bridge.git
synced 2025-12-18 08:13:23 +00:00
Updating bridge control to activate save button on list updates.
This commit is contained in:
2
pom.xml
2
pom.xml
@@ -5,7 +5,7 @@
|
|||||||
|
|
||||||
<groupId>com.bwssystems.HABridge</groupId>
|
<groupId>com.bwssystems.HABridge</groupId>
|
||||||
<artifactId>ha-bridge</artifactId>
|
<artifactId>ha-bridge</artifactId>
|
||||||
<version>2.0.7-hal-h</version>
|
<version>2.0.7-hal-i</version>
|
||||||
<packaging>jar</packaging>
|
<packaging>jar</packaging>
|
||||||
|
|
||||||
<name>HA Bridge</name>
|
<name>HA Bridge</name>
|
||||||
|
|||||||
@@ -599,7 +599,7 @@ app.controller('SystemController', function ($scope, $location, $http, $window,
|
|||||||
bridgeService.viewConfigs();
|
bridgeService.viewConfigs();
|
||||||
$scope.bridge = bridgeService.state;
|
$scope.bridge = bridgeService.state;
|
||||||
$scope.optionalbackupname = "";
|
$scope.optionalbackupname = "";
|
||||||
$scope.isInControl = false;
|
$scope.bridge.isInControl = false;
|
||||||
$scope.visible = false;
|
$scope.visible = false;
|
||||||
$scope.imgUrl = "glyphicon glyphicon-plus";
|
$scope.imgUrl = "glyphicon glyphicon-plus";
|
||||||
$scope.addVeratoSettings = function (newveraname, newveraip) {
|
$scope.addVeratoSettings = function (newveraname, newveraip) {
|
||||||
@@ -667,11 +667,9 @@ app.controller('SystemController', function ($scope, $location, $http, $window,
|
|||||||
}
|
}
|
||||||
};
|
};
|
||||||
$scope.bridgeReinit = function () {
|
$scope.bridgeReinit = function () {
|
||||||
$scope.isInControl = false;
|
|
||||||
bridgeService.reinit();
|
bridgeService.reinit();
|
||||||
};
|
};
|
||||||
$scope.bridgeStop = function () {
|
$scope.bridgeStop = function () {
|
||||||
$scope.isInControl = false;
|
|
||||||
bridgeService.stop();
|
bridgeService.stop();
|
||||||
};
|
};
|
||||||
$scope.saveSettings = function() {
|
$scope.saveSettings = function() {
|
||||||
|
|||||||
Reference in New Issue
Block a user