Fix Webui files-tab menu setting wrong priority
This commit is contained in:
parent
a2d313383c
commit
bbba60f34c
|
@ -250,21 +250,21 @@ deluge.menus.filePriorities = new Ext.menu.Menu({
|
||||||
id: 'no_download',
|
id: 'no_download',
|
||||||
text: _('Do Not Download'),
|
text: _('Do Not Download'),
|
||||||
iconCls: 'icon-do-not-download',
|
iconCls: 'icon-do-not-download',
|
||||||
filePriority: 0
|
filePriority: FILE_PRIORITY['Do Not Download']
|
||||||
}, {
|
}, {
|
||||||
id: 'normal',
|
id: 'normal',
|
||||||
text: _('Normal Priority'),
|
text: _('Normal Priority'),
|
||||||
iconCls: 'icon-normal',
|
iconCls: 'icon-normal',
|
||||||
filePriority: 1
|
filePriority: FILE_PRIORITY['Normal Priority']
|
||||||
}, {
|
}, {
|
||||||
id: 'high',
|
id: 'high',
|
||||||
text: _('High Priority'),
|
text: _('High Priority'),
|
||||||
iconCls: 'icon-high',
|
iconCls: 'icon-high',
|
||||||
filePriority: 2
|
filePriority: FILE_PRIORITY['High Priority']
|
||||||
}, {
|
}, {
|
||||||
id: 'highest',
|
id: 'highest',
|
||||||
text: _('Highest Priority'),
|
text: _('Highest Priority'),
|
||||||
iconCls: 'icon-highest',
|
iconCls: 'icon-highest',
|
||||||
filePriority: 5
|
filePriority: FILE_PRIORITY['Highest Priority']
|
||||||
}]
|
}]
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in New Issue