Fix WebUI submenus closing upon mouse click
This commit is contained in:
parent
8cbdaffedb
commit
eec820774b
|
@ -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…
Reference in New Issue