Přejít na obsah
Menu
You need to be registered to interact with the community.
This question has been flagged
4419 Zobrazení

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;
},
Avatar
Zrušit
Related Posts Odpovědi Zobrazení Aktivita
2
lis 22
5139
0
lis 21
2099
1
říj 22
4441
1
říj 22
7151
2
lis 23
2345