[Jifty-commit] r5319 - in jifty/trunk: share/web/static/js
Jifty commits
jifty-commit at lists.jifty.org
Wed Apr 16 21:21:59 EDT 2008
Author: sartak
Date: Wed Apr 16 21:21:56 2008
New Revision: 5319
Modified:
jifty/trunk/ (props changed)
jifty/trunk/share/web/static/js/calendar.js
Log:
r54138 at onn: sartak | 2008-04-16 21:21:18 -0400
Fix for removing calendars (why do you suddenly hate us, jQuery)
Modified: jifty/trunk/share/web/static/js/calendar.js
==============================================================================
--- jifty/trunk/share/web/static/js/calendar.js (original)
+++ jifty/trunk/share/web/static/js/calendar.js Wed Apr 16 21:21:56 2008
@@ -95,7 +95,9 @@
inputId = inputId.replace(/^cal_/, '');
inputId = inputId.replace(/_wrap$/, '');
- jQuery(Jifty.Calendar.openCalendar).remove();
+ // XXX: jQuery(Jifty.Calendar.openCalendar).remove() doesn't work for some reason
+ var cal = document.getElementById(Jifty.Calendar.openCalendar);
+ cal.parentNode.removeChild(cal);
var input = document.getElementById( inputId );
More information about the Jifty-commit
mailing list