This namespace contains the special module functions for Notification View.
Methods
-
(static) Init()
-
This function initialize module functionalities.
-
(static) ShowDismissDialog(Event) → {void}
-
This function is called on click on the dismiss selected notifications bulk action, it shows a content dialog to confirm the dismiss of the notifications
Parameters:
Name Type Description Event
String Returns:
- Type
- void
-
(static) ShowNotificationDialog(Event) → {void}
-
This function is called on click on the notification row, it shows a custom dialog that contains the body if the notification, when the dialog closes the notification is marked as seen, or dismissed if dismiss button is clicked (this without any other confirmation)
Parameters:
Name Type Description Event
String Returns:
- Type
- void
-
(static) UpdateActionRow($ClickedElement, $Checkboxes, $ActionRow) → {void}
-
This function is called on click on the check-box of a notification element and updates the action row for this element.
Parameters:
Name Type Description $ClickedElement
jQueryObject jQueryObject of the clicked element (normally $(this)) $Checkboxes
jQueryObject jQueryObject of the check-boxes of the different notifications $ActionRow
jQueryObject The jQueryObject of the ActionRow wrapper (normally the - -Element)
Returns:
- Type
- void