Module: changeListeners/footerLink

Creates an instance of the footer link change listener.

The change listener covers the following behaviour:

  • The "Enable previews" link (the "link") is appended to the footer menu (see createFooterLink above).
  • When Page Previews are disabled, then the link is shown; otherwise, the link is hidden.
  • When the user clicks the link, then the showSettings bound action creator is called.
Parameters:
Name Type Description
boundActions Object
Source:
Returns:
Type
ext.popups.ChangeListener

Methods

Creates the link element and appends it to the footer element.

The following elements are considered to be the footer element (highest priority to lowest):

#footer-places

#f-list

The parent element of #footer li, which is either an ol or ul.

Source:
Returns:

The link element

Type
JQuery