mirror of
https://github.com/NuSkooler/enigma-bbs.git
synced 2025-07-25 03:58:17 +02:00
* Add rumorz mod
* ANSI/pipe working properly in VerticalMenuView * Fix bug in renderStringLength() * Make initSequence() part of prototype chain for inheritance * Use proper 'desc' field vs 'status' for menus when setting client/user status * Move pipeToAnsi() to setItems/setFocusItems vs every render * Add %RR random rumor MCI * Predefined MCI's can be init @ startup - RR uses random as a test bed * Add some StatLog functionality for ordering, keep forever, etc. * Fix TextView redraw issue * Better VerticalMenuView drawItem() logic * Add 'key press' emit for View * Enable formats for BBS list - works with MCI * Remove old system_property.js
This commit is contained in:
parent
2b68201f7d
commit
30ba609fb4
13 changed files with 492 additions and 241 deletions
|
@ -117,21 +117,11 @@ function BBSListModule(options) {
|
|||
};
|
||||
|
||||
this.setEntries = function(entriesView) {
|
||||
/*
|
||||
:TODO: This is currently disabled until VerticalMenuView 'justify' works properly with pipe code strings
|
||||
|
||||
const listFormat = config.listFormat || '{bbsName}';
|
||||
const focusListFormat = config.focusListFormat || '{bbsName}';
|
||||
|
||||
entriesView.setItems(self.entries.map( e => {
|
||||
return listFormat.format(e);
|
||||
}));
|
||||
|
||||
entriesView.setFocusItems(self.entries.map( e => {
|
||||
return focusListFormat.format(e);
|
||||
}));
|
||||
*/
|
||||
entriesView.setItems(self.entries.map(e => e.bbsName));
|
||||
entriesView.setItems(self.entries.map( e => listFormat.format(e) ) );
|
||||
entriesView.setFocusItems(self.entries.map( e => focusListFormat.format(e) ) );
|
||||
};
|
||||
|
||||
this.displayBBSList = function(clearScreen, cb) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue