From fbacc4fd81f0ad94e815dddb82831c608d2b3f19 Mon Sep 17 00:00:00 2001 From: Ylian Saint-Hilaire Date: Mon, 28 Aug 2017 16:15:55 -0700 Subject: [PATCH] Fixed website default settings --- package.json | 2 +- views/default.handlebars | 7 ++++--- 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/package.json b/package.json index 85cc0f0e..abfa07fd 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "meshcentral", - "version": "0.0.6-q", + "version": "0.0.6-r", "keywords": [ "Remote Management", "Intel AMT", diff --git a/views/default.handlebars b/views/default.handlebars index 02e0d83e..8492489c 100644 --- a/views/default.handlebars +++ b/views/default.handlebars @@ -107,7 +107,7 @@         - Hostname + Hostname
@@ -593,7 +593,7 @@ var wssessions = null; var nodeShortIdent = 0; var desktop; - var desktopsettings = { encoding: 2, showfocus: false, showmouse: true, showcad: true }; + var desktopsettings = { encoding: 2, showfocus: false, showmouse: true, showcad: true, quality: 40, scaling: 1024 }; var terminal; var files; var debugLevel = {{{debuglevel}}}; @@ -628,7 +628,7 @@ // Setup page controls document.getElementById("sortselect").selectedIndex = sort = getstore("sort", 0); Q('SearchInput').value = getstore("search", ""); - showHostnames = (getstore("showHostnames", 1) == 1); + showHostnames = (getstore("showHostnames", 0) == 1); Q('HostnameCheckBox').checked = showHostnames; Q('viewselect').value = getstore("deviceView", 1); @@ -2135,6 +2135,7 @@ } function applyDesktopSettings() { + console.log(desktopsettings); d7desktopmode.value = desktopsettings.encoding; d7showfocus.checked = desktopsettings.showfocus; d7showcursor.checked = desktopsettings.showmouse;