Class: WikiPortlet

WikiPortlet()

WikiPortlet

Constructor

new WikiPortlet()

Source:

Methods

(protected) _changeWikiFormat(event)

Changes the wiki page format. Previously user is informed that she may lose some formatting with a confirm dialog.
Parameters:
Name Type Description
event Event The select event that triggered the change action
Source:

(protected) _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:

(protected) _removeTempImages() → {Boolean}

Checks if there are images that have not been uploaded yet. In that case, it removes them after asking confirmation to the user.
Source:
Returns:
False if there are temporal images and user does not confirm she wants to lose them. True in other case.
Type
Boolean

(protected) _save()

Submits the wiki page.
Source: