From: David ‘Bombe’ Roden Date: Sun, 14 Nov 2010 20:21:05 +0000 (+0100) Subject: Rename method. X-Git-Tag: 0.3-RC1~58 X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=5ac2eeb4296b651f380e2d35ad35cf4bfc70c766;p=Sone.git Rename method. --- diff --git a/src/main/resources/static/javascript/sone.js b/src/main/resources/static/javascript/sone.js index 4ab0aab..75fa965 100644 --- a/src/main/resources/static/javascript/sone.js +++ b/src/main/resources/static/javascript/sone.js @@ -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; }); diff --git a/src/main/resources/templates/include/head.html b/src/main/resources/templates/include/head.html index 1b89747..9fb2525 100644 --- a/src/main/resources/templates/include/head.html +++ b/src/main/resources/templates/include/head.html @@ -175,7 +175,7 @@ /* process all existing notifications, ajaxify dismiss buttons. */ $(document).ready(function() { $("#sone #notification-area .notification").each(function() { - ajaxifyNotificationArea($(this)); + ajaxifyNotification($(this)); }); });