Changeset - 5a2357a2b824
[Not reviewed]
default
0 1 0
Takumi IINO - 11 years ago 2014-07-21 17:46:21
trot.thunder@gmail.com
templates: replace YUI with jquery in kallithea/templates/admin/notifications/show_notification.html
1 file changed with 2 insertions and 2 deletions:
0 comments (0 inline, 0 general)
kallithea/templates/admin/notifications/show_notification.html
Show inline comments
 
@@ -46,12 +46,12 @@
 
      </div>
 
    </div>
 
</div>
 
<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>
0 comments (0 inline, 0 general)