mirror of
https://github.com/qbittorrent/qBittorrent
synced 2025-08-20 21:33:27 -07:00
WebUI: Fix JavaScript exception on WebUI load
This commit is contained in:
parent
69d52a06d7
commit
418734b0a3
2 changed files with 11 additions and 6 deletions
|
@ -107,4 +107,5 @@
|
|||
|
||||
<script type="text/javascript">
|
||||
torrentPeersTable.setup('torrentPeersTable', 'torrentPeersTableHeader', null);
|
||||
$(getLocalStorageItem('selected_tab', 'PropGeneralLink')).click();
|
||||
</script>
|
|
@ -26,7 +26,13 @@ torrentsTable = new TorrentsTable();
|
|||
torrentPeersTable = new TorrentPeersTable();
|
||||
|
||||
var updatePropertiesPanel = function () {};
|
||||
|
||||
var updateTorrentData = function () {};
|
||||
var updateTrackersData = function () {};
|
||||
var updateTorrentPeersData = function () {};
|
||||
var updateWebSeedsData = function () {};
|
||||
var updateTorrentFilesData = function () {};
|
||||
|
||||
var updateMainData = function () {};
|
||||
var alternativeSpeedLimits = false;
|
||||
var queueing_enabled = true;
|
||||
|
@ -578,8 +584,6 @@ window.addEvent('load', function () {
|
|||
$('propertiesPanel_collapseToggle').addEvent('click', function(e){
|
||||
updatePropertiesPanel();
|
||||
});
|
||||
|
||||
$(getLocalStorageItem('selected_tab', 'PropGeneralLink')).click();
|
||||
},
|
||||
column : 'mainColumn',
|
||||
height : prop_h
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue