From 46a3b382dbb50c3e7c1f4086f37f4885303974da Mon Sep 17 00:00:00 2001 From: Christophe Dumez Date: Sun, 2 Oct 2011 00:53:00 +0300 Subject: [PATCH] Web UI: Fix torrent deletion from IE --- Changelog | 1 + src/webui/html/confirmdeletion.html | 2 +- src/webui/scripts/mocha-init.js | 2 +- 3 files changed, 3 insertions(+), 2 deletions(-) diff --git a/Changelog b/Changelog index 248479331..cc4245d8f 100644 --- a/Changelog +++ b/Changelog @@ -10,6 +10,7 @@ - BUGFIX: Save RSS items to disk regularly for safety - BUGFIX: Fix ratio calculation (use all_time_download) - BUGFIX: Fix torrent upload issues (Web UI) + - BUGFIX: Fix some IE incompatibilities (Web UI) - COSMETIC: Display speed at the beginning of the Window title - COSMETIC: Several cosmetic fixes to the Web UI - COSMETIC: Make top toolbar follow system style diff --git a/src/webui/html/confirmdeletion.html b/src/webui/html/confirmdeletion.html index 15af4e30b..f234cdbf9 100644 --- a/src/webui/html/confirmdeletion.html +++ b/src/webui/html/confirmdeletion.html @@ -35,7 +35,7 @@ } } - var hashes = JSON.decode($get('hashes')); + var hashes = $get('hashes').split(','); window.addEvent('domready', function(){ $('cancelBtn').focus(); diff --git a/src/webui/scripts/mocha-init.js b/src/webui/scripts/mocha-init.js index af21c79ce..bcca88600 100644 --- a/src/webui/scripts/mocha-init.js +++ b/src/webui/scripts/mocha-init.js @@ -160,7 +160,7 @@ initializeWindows = function(){ id: 'confirmDeletionPage', title: "_(Deletion confirmation - qBittorrent)", loadMethod: 'iframe', - contentURL:'confirmdeletion.html?hashes='+JSON.encode(h), + contentURL:'confirmdeletion.html?hashes='+h.join(','), scrollbars: false, resizable: false, maximizable: false,