* Minor tweaks to message list
This commit is contained in:
parent
6e0a4e84af
commit
15d844262d
|
@ -538,7 +538,6 @@
|
||||||
0: {
|
0: {
|
||||||
mci: {
|
mci: {
|
||||||
VM1: {
|
VM1: {
|
||||||
height: 10
|
|
||||||
focus: true
|
focus: true
|
||||||
submit: true
|
submit: true
|
||||||
argName: message
|
argName: message
|
||||||
|
|
|
@ -133,6 +133,7 @@ MessageListModule.prototype.mciReady = function(mciData, cb) {
|
||||||
function populateList(callback) {
|
function populateList(callback) {
|
||||||
var msgListView = vc.getView(MciCodesIds.MsgList);
|
var msgListView = vc.getView(MciCodesIds.MsgList);
|
||||||
|
|
||||||
|
// :TODO: fix default format
|
||||||
var listFormat = self.menuConfig.config.listFormat || '{msgNum:>4} - {subj:>35} |{to:>15}';
|
var listFormat = self.menuConfig.config.listFormat || '{msgNum:>4} - {subj:>35} |{to:>15}';
|
||||||
var focusListFormat = self.menuConfig.config.focusListFormat;
|
var focusListFormat = self.menuConfig.config.focusListFormat;
|
||||||
|
|
||||||
|
@ -175,6 +176,7 @@ MessageListModule.prototype.mciReady = function(mciData, cb) {
|
||||||
function populateOtherMciViews(callback) {
|
function populateOtherMciViews(callback) {
|
||||||
|
|
||||||
self.setViewText(MciCodesIds.MsgAreaDesc, messageArea.getMessageAreaByName(self.messageAreaName).desc);
|
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());
|
self.setViewText(MciCodesIds.MsgTotal, self.messageList.length.toString());
|
||||||
|
|
||||||
callback(null);
|
callback(null);
|
||||||
|
|
|
@ -71,9 +71,14 @@
|
||||||
|
|
||||||
messageAreaMessageList: {
|
messageAreaMessageList: {
|
||||||
config: {
|
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}"
|
focusListFormat: "|00|42|30{msgNum:>4} - {subj:<29.29} {from:<20.20} {ts} {newMark}"
|
||||||
}
|
}
|
||||||
|
mci: {
|
||||||
|
VM1: {
|
||||||
|
height: 14
|
||||||
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
messageAreaViewPost: {
|
messageAreaViewPost: {
|
||||||
|
|
Loading…
Reference in New Issue