Browse Source

Merge pull request #14089 from glassez/fix-webui

Don't call non-existent elements
adaptive-webui-19844
Vladimir Golovnev 4 years ago committed by GitHub
parent
commit
f1337524f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/webui/www/private/download.html
  2. 1
      src/webui/www/private/upload.html

1
src/webui/www/private/download.html

@ -157,7 +157,6 @@ @@ -157,7 +157,6 @@
$('downloadForm').addEventListener("submit", function() {
$('startTorrentHidden').value = $('startTorrent').checked ? 'false' : 'true';
$('rootFolderHidden').value = $('rootFolder').checked ? 'true' : 'false';
$('dlLimitHidden').value = $('dlLimitText').value.toInt() * 1024;
$('upLimitHidden').value = $('upLimitText').value.toInt() * 1024;

1
src/webui/www/private/upload.html

@ -134,7 +134,6 @@ @@ -134,7 +134,6 @@
$('uploadForm').addEventListener("submit", function() {
$('startTorrentHidden').value = $('startTorrent').checked ? 'false' : 'true';
$('rootFolderHidden').value = $('rootFolder').checked ? 'true' : 'false';
$('dlLimitHidden').value = $('dlLimitText').value.toInt() * 1024;
$('upLimitHidden').value = $('upLimitText').value.toInt() * 1024;

Loading…
Cancel
Save