Methods
(static) getModalControllerOf(element) → {Controller}
Get the backbone controller of the modal.
Parameters:
Name | Type | Description |
---|---|---|
element |
object | The DOM element |
Returns:
The backbone controller
- Type
- Controller
(static) isAttachmentsBrowserSortable() → {boolean}
The sortable state gets refreshed so check if we have to destroy the
draggable instance.
Returns:
- Type
- boolean
(static) isAttachmentsGalleryEdit() → {boolean}
Returns:
- Type
- boolean