Class: MBPortlet

MBPortlet()

MBPortlet handles the actions of replying or editing a message board.

Constructor

new MBPortlet()

Source:

Methods

_openAdvancedReply()

Redirects to the advanced reply page keeping the current message.
Source:

_removeAttachment(event)

Sends a request to remove the selected attachment.
Parameters:
Name Type Description
event Event The click event that triggered the remove action
Source:

_saveFn()

Save the message. Before doing that, checks if there are images that have not been uploaded yet. In that case, it removes them after asking confirmation to the user.
Source:

_submitMBForm()

Submits the message.
Source:

_updateMultipleMBMessageAttachments()

Updates the attachments to include the checked attachments.
Source:

_updateRemovedAttachments()

Sends a request to retrieve the deleted attachments
Source: