mirror of
https://github.com/qbittorrent/qBittorrent.git
synced 2025-12-18 06:28:03 -06:00
Add save path and editing to WebUI new category dialog
This commit is contained in:
@@ -387,9 +387,13 @@ var CategoriesFilterContextMenu = new Class({
|
||||
Extends: ContextMenu,
|
||||
updateMenuItems: function() {
|
||||
var id = this.options.element.id;
|
||||
if (id != CATEGORIES_ALL && id != CATEGORIES_UNCATEGORIZED)
|
||||
if ((id != CATEGORIES_ALL) && (id != CATEGORIES_UNCATEGORIZED)) {
|
||||
this.showItem('EditCategory');
|
||||
this.showItem('DeleteCategory');
|
||||
else
|
||||
}
|
||||
else {
|
||||
this.hideItem('EditCategory');
|
||||
this.hideItem('DeleteCategory');
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user