forked from jens-maus/RaspberryMatic
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
jp112sdl
committed
Nov 5, 2024
1 parent
7517b05
commit 90e2e62
Showing
3 changed files
with
105,142 additions
and
0 deletions.
There are no files selected for viewing
22 changes: 22 additions & 0 deletions
22
buildroot-external/patches/occu/0190-WebUI-Fix-AddMissingExtendedChannelDescriptions.patch
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,22 @@ | ||
--- occu/WebUI/www/webui/webui.js.orig | ||
+++ occu/WebUI/www/webui/webui.js | ||
@@ -35441,15 +35441,15 @@ | ||
multiMode = oChannelDescr.multiMode; | ||
var tmpDev; | ||
|
||
- if (typeof channelAddress != "undefined") { | ||
+ if (typeof channelType != "undefined") { | ||
+ chType = channelType; | ||
+ } else if (typeof channelAddress != "undefined") { | ||
var channel = DeviceList.getChannelByAddress(channelAddress); | ||
if (channel) { | ||
chType = channel.channelType; | ||
channelIsVisible = channel.isVisible; | ||
} | ||
- } else if (typeof channelType != "undefined") { | ||
- chType = channelType; | ||
- } | ||
+ } | ||
|
||
if (chType == "KEY_TRANSCEIVER") { | ||
if (deviceType.toLowerCase().indexOf("hmip-asir") != -1) { |
Oops, something went wrong.