diff gcalendar/static/js/gcalendar_edit.js @ 1094:110bbc78a482

GCalendar V3 conversion in progress.
author Brian Neal <bgneal@gmail.com>
date Sun, 29 May 2016 23:09:23 -0500
parents ee87ea74d46b
children
line wrap: on
line diff
--- a/gcalendar/static/js/gcalendar_edit.js	Wed May 11 22:00:44 2016 -0500
+++ b/gcalendar/static/js/gcalendar_edit.js	Sun May 29 23:09:23 2016 -0500
@@ -9,8 +9,8 @@
                data: { id : RegExp.$1 }, 
                dataType: 'text',
                success: function (id) {
-                  var id = '#gcal-' + id;
-                  $(id).parents('li').hide('normal');
+                  var rowId = '#gcal-row-' + id;
+                  $(rowId).fadeOut(800);
                }, 
                error: function (xhr, textStatus, ex) {
                   alert('Oops, an error occurred. ' + xhr.statusText + ' - ' +