From 67c3d6cf09d8e7784d6cc5e0c4116b12fe15dd00 Mon Sep 17 00:00:00 2001 From: =?utf8?q?David=20=E2=80=98Bombe=E2=80=99=20Roden?= Date: Thu, 24 Nov 2011 10:53:43 +0100 Subject: [PATCH] Add method to set the new notification hash. --- src/main/resources/static/javascript/sone.js | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index abf3fbd..591afa0 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -1096,6 +1096,16 @@ public getNotificationHash() { } /** + * Sets the notification hash. + * + * @param notificationHash + * The new notification hash + */ +public setNotificationHash(notificationHash) { + $("#sone #notification-area #notification-hash").text(notificationHash); +} + +/** * Retrieves element IDs from notification elements. * * @param notification -- 2.7.4