changeset 4481:5a2357a2b824

templates: replace YUI with jquery in kallithea/templates/admin/notifications/show_notification.html
author Takumi IINO <trot.thunder@gmail.com>
date Tue, 22 Jul 2014 00:46:21 +0900
parents 581013923784
children c6a94b6808c5
files kallithea/templates/admin/notifications/show_notification.html
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/kallithea/templates/admin/notifications/show_notification.html	Tue Jul 22 00:46:21 2014 +0900
+++ b/kallithea/templates/admin/notifications/show_notification.html	Tue Jul 22 00:46:21 2014 +0900
@@ -49,9 +49,9 @@
 <script type="text/javascript">
 var url = "${url('notification', notification_id='__NOTIFICATION_ID__')}";
 var main = "${url('notifications')}";
-   YUE.on(YUQ('.delete-notification'),'click',function(e){
+   $('.delete-notification').click(function(e){
        var notification_id = e.currentTarget.id;
        deleteNotification(url,notification_id,[function(){window.location=main}])
-   })
+   });
 </script>
 </%def>