mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2026-01-04 22:52:33 -06:00
Merge pull request #4677 from buinsky/WebUI_misc_fixes
WebUI: Misc fixes and improvements
This commit is contained in:
@@ -7,6 +7,17 @@
|
||||
<script type="text/javascript" src="scripts/mootools-1.2-core-yc.js" charset="utf-8"></script>
|
||||
<script type="text/javascript" src="scripts/mootools-1.2-more.js" charset="utf-8"></script>
|
||||
<script type="text/javascript">
|
||||
var newLabelKeyboardEvents = new Keyboard({
|
||||
defaultEventType: 'keydown',
|
||||
events: {
|
||||
'enter': function (event) {
|
||||
$('newLabelButton').click();
|
||||
event.preventDefault();
|
||||
}
|
||||
}
|
||||
});
|
||||
newLabelKeyboardEvents.activate();
|
||||
|
||||
window.addEvent('domready', function() {
|
||||
$('newLabel').focus();
|
||||
$('newLabelButton').addEvent('click', function(e) {
|
||||
|
||||
@@ -107,4 +107,5 @@
|
||||
|
||||
<script type="text/javascript">
|
||||
torrentPeersTable.setup('torrentPeersTable', 'torrentPeersTableHeader', null);
|
||||
</script>
|
||||
$(getLocalStorageItem('selected_tab', 'PropGeneralLink')).click();
|
||||
</script>
|
||||
|
||||
@@ -25,9 +25,15 @@
|
||||
torrentsTable = new TorrentsTable();
|
||||
torrentPeersTable = new TorrentPeersTable();
|
||||
|
||||
var updatePropertiesPanel = function(){};
|
||||
var updateTorrentPeersData = function(){};
|
||||
var updateMainData = function(){};
|
||||
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;
|
||||
var syncMainDataTimerPeriod = 1500;
|
||||
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user