Module: hooks/sortable

Methods

(static) applyToAttachmentsBrowser()

Apply an order to attachments browser without reloading the collection.

(static) isFilterActive(attachmentsBrowseropt)

Checks if a filter is active.
Parameters:
Name Type Attributes Description
attachmentsBrowser object <optional>
If set the filter is searched in the backbone controller

(static) isOrderByActive(attachmentsBrowseropt)

Checks if a orderby is active.
Parameters:
Name Type Attributes Description
attachmentsBrowser object <optional>
If set the filter is searched in the backbone controller

(static) orderUrl() → {string}

Returns:
Type
string

(static) toggleSortable(selected, attachmentsBrowseropt)

(Pro only) Toggle the sortable mode. Popup a message if custom order is not disabled, yet. If custom order is enabled check the different list and grid mode behavior.
Parameters:
Name Type Attributes Description
selected object The selected node
attachmentsBrowser object <optional>
If set the filter is searched in the backbone controller