[Vtigercrm-developers] Jscalendar strange behavior

Nicolas Larcipretti niclarcipretti at gmail.com
Mon Oct 10 10:34:40 PDT 2011


Hi guys,

Have anyone noticed that when you have a jscalendar component and a select
box in the same screen, when you drag the calendar widget over the select
box, the select box just vanishes?? 0_o

I've found a workaround to stop this in jscalendar/calendar.js, line 1487.
Just remove the "select" tag from the array:

var tags = new Array("applet", "iframe", "select");

becomes

var tags = new Array("applet", "iframe");

Taking a closer look to the whole function in calendar.js, I think they
really meant to do that, but I just can't imagine why...

Appearently, it will do the same thing to iframes and applets, so if anyone
knows why they built it that way, I'd appreciate some info to build a better
solution or just leave it that way.

Cheers

Nicolas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.vtigercrm.com/pipermail/vtigercrm-developers/attachments/20111010/5468135f/attachment-0002.html 


More information about the vtigercrm-developers mailing list