From b5cd9c4cdd29f451316f3a0781f8d8d6a8090057 Mon Sep 17 00:00:00 2001 From: ndusek Date: Thu, 31 Aug 2023 10:54:54 -0500 Subject: [PATCH] Fixed quality and compression variable names in _novnc.html.erb (#2995) --- .../batch_connect/sessions/connections/_novnc.html.erb | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/apps/dashboard/app/views/batch_connect/sessions/connections/_novnc.html.erb b/apps/dashboard/app/views/batch_connect/sessions/connections/_novnc.html.erb index d9192e27e8..0ccc4d580f 100644 --- a/apps/dashboard/app/views/batch_connect/sessions/connections/_novnc.html.erb +++ b/apps/dashboard/app/views/batch_connect/sessions/connections/_novnc.html.erb @@ -6,16 +6,16 @@
- <%= f.number_field(:compressionsetting, class: 'custom-range', type: 'range', min: 0, max: 9, value: 6, label: "Compression", help: "0 (low) to 9 (high)") %> + <%= f.number_field(:compression, class: 'custom-range', type: 'range', min: 0, max: 9, value: 6, label: "Compression", help: "0 (low) to 9 (high)") %>
- <%= f.number_field(:qualitysetting, class: 'custom-range', type: 'range', min: 0, max: 9, value: 2, label: "Image Quality", help: "0 (low) to 9 (high)") %> + <%= f.number_field(:quality, class: 'custom-range', type: 'range', min: 0, max: 9, value: 2, label: "Image Quality", help: "0 (low) to 9 (high)") %>
<%= javascript_tag nonce: true do -%> // Functions defined in batch_connect_sessions.js - for(var name of ['compressionsetting', 'qualitysetting']) { + for(var name of ['compression', 'quality']) { tryUpdateSetting(name); installSettingHandlers(name); }