* Minor tweaks to message list

This commit is contained in:
Bryan Ashby 2015-10-11 20:52:13 -06:00
parent 6e0a4e84af
commit 15d844262d
3 changed files with 8 additions and 2 deletions

View File

@ -538,7 +538,6 @@
0: {
mci: {
VM1: {
height: 10
focus: true
submit: true
argName: message

View File

@ -133,6 +133,7 @@ MessageListModule.prototype.mciReady = function(mciData, cb) {
function populateList(callback) {
var msgListView = vc.getView(MciCodesIds.MsgList);
// :TODO: fix default format
var listFormat = self.menuConfig.config.listFormat || '{msgNum:>4} - {subj:>35} |{to:>15}';
var focusListFormat = self.menuConfig.config.focusListFormat;
@ -175,6 +176,7 @@ MessageListModule.prototype.mciReady = function(mciData, cb) {
function populateOtherMciViews(callback) {
self.setViewText(MciCodesIds.MsgAreaDesc, messageArea.getMessageAreaByName(self.messageAreaName).desc);
self.setViewText(MciCodesIds.MsgSelNum, (vc.getView(MciCodesIds.MsgList).getData() + 1).toString());
self.setViewText(MciCodesIds.MsgTotal, self.messageList.length.toString());
callback(null);

View File

@ -71,9 +71,14 @@
messageAreaMessageList: {
config: {
listFormat: "|00|01|37{msgNum:>4} |00|37- |36{subj:<29.29} {from:<20.20} {ts} {newMark}"
listFormat: "|00|01|37{msgNum:>4} |00|37- |36{subj:<29.29} {from:<20.20} {ts} |01|31{newMark}"
focusListFormat: "|00|42|30{msgNum:>4} - {subj:<29.29} {from:<20.20} {ts} {newMark}"
}
mci: {
VM1: {
height: 14
}
}
}
messageAreaViewPost: {