Fixed a problem with the multi-desktop auto-connect.

Ylian Saint-Hilaire committed Oct 16, 2019 at 13:11 UTC 6f7b22157b6740e60ca4a475d9c5ea8df39c9c2f
3 files changed +3 -1
package.json
+1 -1
@@ -1,6 +1,6 @@
1 {
2 "name": "meshcentral",
3 - "version": "0.4.2-q",
3 + "version": "0.4.2-r",
4 "keywords": [
5 "Remote Management",
6 "Intel AMT",
views/default-min.handlebars
+1
@@ -8701,6 +8701,7 @@ var QRCode;!function(){function a(a){this.mode=c.MODE_8BIT_BYTE,this.data=a,this
8701 // Display "connect all" and "auto"
8702 QV('kvmMultiConnectButtonSpan', (kvmDivs.length < 16));
8703 QV('kvmAutoConnectButtonSpan', (kvmDivs.length < 16));
8704 + if (kvmDivs.length >= 16) { Q('autoConnectDesktopCheckbox').checked = false; }
8705
8706 // If displaying devices by groups, sort the group names and display the devices.
8707 if (sort == 3) {
views/default.handlebars
+1
@@ -2672,6 +2672,7 @@
2672 // Display "connect all" and "auto"
2673 QV('kvmMultiConnectButtonSpan', (kvmDivs.length < 16));
2674 QV('kvmAutoConnectButtonSpan', (kvmDivs.length < 16));
2675 + if (kvmDivs.length >= 16) { Q('autoConnectDesktopCheckbox').checked = false; }
2676
2677 // If displaying devices by groups, sort the group names and display the devices.
2678 if (sort == 3) {