Skip to Content
เมนู
คุณต้องลงทะเบียนเพื่อโต้ตอบกับคอมมูนิตี้
คำถามนี้ถูกตั้งค่าสถานะ
4557 มุมมอง

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;
},
อวตาร
ละทิ้ง
Related Posts ตอบกลับ มุมมอง กิจกรรม
2
พ.ย. 22
5309
0
พ.ย. 21
2254
1
ต.ค. 22
4529
1
ต.ค. 22
7328
2
พ.ย. 23
2524