mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-22 02:35:56 +02:00
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:
parent
cc2ee9c586
commit
837326e15a
9 changed files with 329 additions and 146 deletions
|
@ -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) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue