mirror of
https://github.com/codex-storage/deluge.git
synced 2025-01-14 13:34:21 +00:00
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'),
|
text: _('Options'),
|
||||||
iconCls: 'icon-options',
|
iconCls: 'icon-options',
|
||||||
|
hideOnClick: false,
|
||||||
menu: new Ext.menu.Menu({
|
menu: new Ext.menu.Menu({
|
||||||
items: [{
|
items: [{
|
||||||
text: _('D/L Speed Limit'),
|
text: _('D/L Speed Limit'),
|
||||||
iconCls: 'x-deluge-downloading',
|
iconCls: 'x-deluge-downloading',
|
||||||
|
hideOnClick: false,
|
||||||
menu: new Ext.menu.Menu({
|
menu: new Ext.menu.Menu({
|
||||||
items: [{
|
items: [{
|
||||||
text: _('5 KiB/s')
|
text: _('5 KiB/s')
|
||||||
@ -120,6 +122,7 @@ deluge.menus.torrent = new Ext.menu.Menu({
|
|||||||
}, {
|
}, {
|
||||||
text: _('U/L Speed Limit'),
|
text: _('U/L Speed Limit'),
|
||||||
iconCls: 'x-deluge-seeding',
|
iconCls: 'x-deluge-seeding',
|
||||||
|
hideOnClick: false,
|
||||||
menu: new Ext.menu.Menu({
|
menu: new Ext.menu.Menu({
|
||||||
items: [{
|
items: [{
|
||||||
text: _('5 KiB/s')
|
text: _('5 KiB/s')
|
||||||
@ -138,6 +141,7 @@ deluge.menus.torrent = new Ext.menu.Menu({
|
|||||||
}, {
|
}, {
|
||||||
text: _('Connection Limit'),
|
text: _('Connection Limit'),
|
||||||
iconCls: 'x-deluge-connections',
|
iconCls: 'x-deluge-connections',
|
||||||
|
hideOnClick: false,
|
||||||
menu: new Ext.menu.Menu({
|
menu: new Ext.menu.Menu({
|
||||||
items: [{
|
items: [{
|
||||||
text: _('50')
|
text: _('50')
|
||||||
@ -156,6 +160,7 @@ deluge.menus.torrent = new Ext.menu.Menu({
|
|||||||
}, {
|
}, {
|
||||||
text: _('Upload Slot Limit'),
|
text: _('Upload Slot Limit'),
|
||||||
iconCls: 'icon-upload-slots',
|
iconCls: 'icon-upload-slots',
|
||||||
|
hideOnClick: false,
|
||||||
menu: new Ext.menu.Menu({
|
menu: new Ext.menu.Menu({
|
||||||
items: [{
|
items: [{
|
||||||
text: _('0')
|
text: _('0')
|
||||||
@ -180,6 +185,7 @@ deluge.menus.torrent = new Ext.menu.Menu({
|
|||||||
}, '-', {
|
}, '-', {
|
||||||
text: _('Queue'),
|
text: _('Queue'),
|
||||||
iconCls: 'icon-queue',
|
iconCls: 'icon-queue',
|
||||||
|
hideOnClick: false,
|
||||||
menu: new Ext.menu.Menu({
|
menu: new Ext.menu.Menu({
|
||||||
items: [{
|
items: [{
|
||||||
torrentAction: 'top',
|
torrentAction: 'top',
|
||||||
|
Loading…
x
Reference in New Issue
Block a user