Web UI: Fix torrent deletion from IE

This commit is contained in:
Christophe Dumez 2011-10-02 00:53:00 +03:00
parent dae959a533
commit 46a3b382db
3 changed files with 3 additions and 2 deletions

View file

@ -10,6 +10,7 @@
- BUGFIX: Save RSS items to disk regularly for safety - BUGFIX: Save RSS items to disk regularly for safety
- BUGFIX: Fix ratio calculation (use all_time_download) - BUGFIX: Fix ratio calculation (use all_time_download)
- BUGFIX: Fix torrent upload issues (Web UI) - 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: Display speed at the beginning of the Window title
- COSMETIC: Several cosmetic fixes to the Web UI - COSMETIC: Several cosmetic fixes to the Web UI
- COSMETIC: Make top toolbar follow system style - COSMETIC: Make top toolbar follow system style

View file

@ -35,7 +35,7 @@
} }
} }
var hashes = JSON.decode($get('hashes')); var hashes = $get('hashes').split(',');
window.addEvent('domready', function(){ window.addEvent('domready', function(){
$('cancelBtn').focus(); $('cancelBtn').focus();

View file

@ -160,7 +160,7 @@ initializeWindows = function(){
id: 'confirmDeletionPage', id: 'confirmDeletionPage',
title: "_(Deletion confirmation - qBittorrent)", title: "_(Deletion confirmation - qBittorrent)",
loadMethod: 'iframe', loadMethod: 'iframe',
contentURL:'confirmdeletion.html?hashes='+JSON.encode(h), contentURL:'confirmdeletion.html?hashes='+h.join(','),
scrollbars: false, scrollbars: false,
resizable: false, resizable: false,
maximizable: false, maximizable: false,