mirror of
https://git.deluge-torrent.org/deluge
synced 2025-04-20 03:24:54 +00:00
Fix WebUI submenus closing upon mouse click
This commit is contained in:
parent
8cbdaffedb
commit
eec820774b
1 changed files with 6 additions and 0 deletions
|
@ -98,10 +98,12 @@ deluge.menus.torrent = new Ext.menu.Menu({
|
|||
}, '-', {
|
||||
text: _('Options'),
|
||||
iconCls: 'icon-options',
|
||||
hideOnClick: false,
|
||||
menu: new Ext.menu.Menu({
|
||||
items: [{
|
||||
text: _('D/L Speed Limit'),
|
||||
iconCls: 'x-deluge-downloading',
|
||||
hideOnClick: false,
|
||||
menu: new Ext.menu.Menu({
|
||||
items: [{
|
||||
text: _('5 KiB/s')
|
||||
|
@ -120,6 +122,7 @@ deluge.menus.torrent = new Ext.menu.Menu({
|
|||
}, {
|
||||
text: _('U/L Speed Limit'),
|
||||
iconCls: 'x-deluge-seeding',
|
||||
hideOnClick: false,
|
||||
menu: new Ext.menu.Menu({
|
||||
items: [{
|
||||
text: _('5 KiB/s')
|
||||
|
@ -138,6 +141,7 @@ deluge.menus.torrent = new Ext.menu.Menu({
|
|||
}, {
|
||||
text: _('Connection Limit'),
|
||||
iconCls: 'x-deluge-connections',
|
||||
hideOnClick: false,
|
||||
menu: new Ext.menu.Menu({
|
||||
items: [{
|
||||
text: _('50')
|
||||
|
@ -156,6 +160,7 @@ deluge.menus.torrent = new Ext.menu.Menu({
|
|||
}, {
|
||||
text: _('Upload Slot Limit'),
|
||||
iconCls: 'icon-upload-slots',
|
||||
hideOnClick: false,
|
||||
menu: new Ext.menu.Menu({
|
||||
items: [{
|
||||
text: _('0')
|
||||
|
@ -180,6 +185,7 @@ deluge.menus.torrent = new Ext.menu.Menu({
|
|||
}, '-', {
|
||||
text: _('Queue'),
|
||||
iconCls: 'icon-queue',
|
||||
hideOnClick: false,
|
||||
menu: new Ext.menu.Menu({
|
||||
items: [{
|
||||
torrentAction: 'top',
|
||||
|
|
Loading…
Add table
Reference in a new issue