Rename method.
authorDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 14 Nov 2010 20:21:05 +0000 (21:21 +0100)
committerDavid ‘Bombe’ Roden <bombe@pterodactylus.net>
Sun, 14 Nov 2010 20:21:05 +0000 (21:21 +0100)
src/main/resources/static/javascript/sone.js
src/main/resources/templates/include/head.html

index 4ab0aab..75fa965 100644 (file)
@@ -414,7 +414,7 @@ function getReply(replyId, callbackFunction) {
  * @param notification
  *            jQuery object representing the notification.
  */
-function ajaxifyNotificationArea(notification) {
+function ajaxifyNotification(notification) {
        notification.find("form.dismiss").submit(function() {
                return false;
        });
index 1b89747..9fb2525 100644 (file)
                /* process all existing notifications, ajaxify dismiss buttons. */
                $(document).ready(function() {
                        $("#sone #notification-area .notification").each(function() {
-                               ajaxifyNotificationArea($(this));
+                               ajaxifyNotification($(this));
                        });
                });
        </script>