Add method to set the new notification hash.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 24 Nov 2011 09:53:43 +0000 (10:53 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Thu, 24 Nov 2011 09:53:43 +0000 (10:53 +0100)
src/main/resources/static/javascript/sone.js

index abf3fbd..591afa0 100644 (file)
@@ -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