Ajaxify all existing notifications.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 14 Nov 2010 14:48:42 +0000 (15:48 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 14 Nov 2010 14:48:42 +0000 (15:48 +0100)
src/main/resources/templates/include/head.html

index a98f58d..cf70729 100644 (file)
                });
        </script>
 
+       <script language="javascript">
+               /* process all existing notifications, ajaxify dismiss buttons. */
+               $(document).ready(function() {
+                       $("#sone #notification-area .notification").each(function() {
+                               ajaxifyNotificationArea($(this));
+                       });
+               });
+       </script>
+
        <div id="main">
 
                <%if !webInterface.core.identityManager.connected>