Add save path and editing to WebUI new category dialog

This commit is contained in:
Thomas Piccirello 2018-07-23 01:49:34 -04:00
parent a0e6007fc1
commit 63c53766b4
12 changed files with 197 additions and 71 deletions

View file

@ -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');
}
}
});