* 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:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user