Fixed issue with "Test Dim" button not presenting the value selector

when there was a body with a dim command. Added ability to specifically
set the web server address port.

Fixes #225
Fixes #217
This commit is contained in:
Admin
2016-11-08 11:27:43 -06:00
parent 3702de8efd
commit 84fb79f9d9
6 changed files with 27 additions and 14 deletions

View File

@@ -769,11 +769,7 @@ app.controller('ViewingController', function ($scope, $location, $http, $window,
(type == "off" && (bridgeService.aContainsB(device.offUrl, "${intensity.byte}") ||
bridgeService.aContainsB(device.offUrl, "${intensity.percent}") ||
bridgeService.aContainsB(device.offUrl, "${intensity.math("))) ||
(type == "dim" && (bridgeService.aContainsB(device.dimUrl, "${intensity.byte}") ||
bridgeService.aContainsB(device.dimUrl, "${intensity.percent}") ||
bridgeService.aContainsB(device.dimUrl, "${intensity.math(") ||
bridgeService.aContainsB(device.deviceType, "passthru") ||
bridgeService.aContainsB(device.mapType, "hueDevice"))))) {
(type == "dim"))) {
$scope.bridge.device = device;
$scope.bridge.type = type;
ngDialog.open({