mirror of
https://github.com/d47081/qBittorrent.git
synced 2025-01-11 15:27:54 +00:00
WebUI: Fix JavaScript exception on WebUI load
This commit is contained in:
parent
69d52a06d7
commit
418734b0a3
@ -107,4 +107,5 @@
|
|||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
torrentPeersTable.setup('torrentPeersTable', 'torrentPeersTableHeader', null);
|
torrentPeersTable.setup('torrentPeersTable', 'torrentPeersTableHeader', null);
|
||||||
|
$(getLocalStorageItem('selected_tab', 'PropGeneralLink')).click();
|
||||||
</script>
|
</script>
|
@ -25,9 +25,15 @@
|
|||||||
torrentsTable = new TorrentsTable();
|
torrentsTable = new TorrentsTable();
|
||||||
torrentPeersTable = new TorrentPeersTable();
|
torrentPeersTable = new TorrentPeersTable();
|
||||||
|
|
||||||
var updatePropertiesPanel = function(){};
|
var updatePropertiesPanel = function () {};
|
||||||
var updateTorrentPeersData = function(){};
|
|
||||||
var updateMainData = function(){};
|
var updateTorrentData = function () {};
|
||||||
|
var updateTrackersData = function () {};
|
||||||
|
var updateTorrentPeersData = function () {};
|
||||||
|
var updateWebSeedsData = function () {};
|
||||||
|
var updateTorrentFilesData = function () {};
|
||||||
|
|
||||||
|
var updateMainData = function () {};
|
||||||
var alternativeSpeedLimits = false;
|
var alternativeSpeedLimits = false;
|
||||||
var queueing_enabled = true;
|
var queueing_enabled = true;
|
||||||
var syncMainDataTimerPeriod = 1500;
|
var syncMainDataTimerPeriod = 1500;
|
||||||
@ -578,8 +584,6 @@ window.addEvent('load', function () {
|
|||||||
$('propertiesPanel_collapseToggle').addEvent('click', function(e){
|
$('propertiesPanel_collapseToggle').addEvent('click', function(e){
|
||||||
updatePropertiesPanel();
|
updatePropertiesPanel();
|
||||||
});
|
});
|
||||||
|
|
||||||
$(getLocalStorageItem('selected_tab', 'PropGeneralLink')).click();
|
|
||||||
},
|
},
|
||||||
column : 'mainColumn',
|
column : 'mainColumn',
|
||||||
height : prop_h
|
height : prop_h
|
||||||
|
Loading…
Reference in New Issue
Block a user