From cc9107d72a39ca24b302fc7cad95697d026ffd8b Mon Sep 17 00:00:00 2001 From: Matthias Date: Tue, 30 Nov 2021 17:35:40 +0100 Subject: [PATCH] update docs --- InvenTree/InvenTree/static/script/inventree/notification.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/InvenTree/InvenTree/static/script/inventree/notification.js b/InvenTree/InvenTree/static/script/inventree/notification.js index 50a260af97..c5020169d6 100644 --- a/InvenTree/InvenTree/static/script/inventree/notification.js +++ b/InvenTree/InvenTree/static/script/inventree/notification.js @@ -122,7 +122,10 @@ function showMessage(message, options={}) { var notificationUpdateTic = 0; /** * The notification checker is initiated when the document is loaded. It checks if there are unread notifications - * if unread messages exist the alert flag is raised by making it visible + * if unread messages exist the notification indicator is updated + * + * options: + * - force: set true to force an update now (if you got in focus for example) **/ function notificationCheck(force = false) { notificationUpdateTic = notificationUpdateTic + 1;