跳至內容
選單
此問題已被標幟
4426 瀏覽次數

How can i override the default option,  displaycReplyoption from false to True


init: function (parent, options) {
this._super.apply(this, arguments);
// options when the thread is enabled (e.g. can send message,
// interact on messages, etc.)
this._enabledOptions = _.defaults(options || {}, {
displayOrder: ORDER.ASC,
displayMarkAsRead: true,
displayModerationCommands: false,
displayStars: true,
displayDocumentLinks: true,
displayAvatars: true,
squashCloseMessages: true,
displayEmailIcons: true,
displayReplyIcons: false,
loadMoreOnScroll: false,
});
// options when the thread is disabled
this._disabledOptions = {
displayOrder: this._enabledOptions.displayOrder,
displayMarkAsRead: false,
displayModerationCommands: false,
displayStars: false,
displayDocumentLinks: false,
displayAvatars: this._enabledOptions.displayAvatars,
squashCloseMessages: false,
displayEmailIcons: false,
displayReplyIcons: false,
loadMoreOnScroll: this._enabledOptions.loadMoreOnScroll,
};
this._selectedMessageID = null;
this._currentThreadID = null;
this._messageMailPopover = null;
},
頭像
捨棄
相關帖文 回覆 瀏覽次數 活動
2
11月 22
5145
0
11月 21
2102
1
10月 22
4445
1
10月 22
7163
2
11月 23
2348