MANY changes around message listing / viewing
* If messageList is used, alwasy require items to contain areaTag * Standardize messageList a bit - still WIP, needs cleaned up * Lof of changes around area/conf tracking in relation to messages and message listings * Work for message searching * Clean up of various code, much to do...
This commit is contained in:
@@ -178,8 +178,7 @@ VerticalMenuView.prototype.onKeyPress = function(ch, key) {
|
||||
|
||||
VerticalMenuView.prototype.getData = function() {
|
||||
const item = this.getItem(this.focusedItemIndex);
|
||||
return item.data ? item.data : this.focusedItemIndex;
|
||||
//return this.focusedItemIndex;
|
||||
return _.isString(item.data) ? item.data : this.focusedItemIndex;
|
||||
};
|
||||
|
||||
VerticalMenuView.prototype.setItems = function(items) {
|
||||
|
||||
Reference in New Issue
Block a user