Remove obsolete notification accessor.
[Sone.git] / src / main / resources / templates / include / head.html
index a98f58d..75485bf 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>
                                                        <button type="submit"><%= Notification.Button.Dismiss|l10n|html></button>
                                                </form>
                                        <%/if>
-                                       <% notification.render>
+                                       <% notification>
                                </div>
                        <%/foreach>
                </div>