[Vtigercrm-developers] Jscalendar strange behavior

Nicolas Larcipretti niclarcipretti at gmail.com
Mon Oct 10 10:52:37 PDT 2011


Adding some observations:

- Only happens in Google Chrome.
- IE and FF makes the select box dissapear and when you drag the widget off
the select box, it appears again.

I'll debug the js in Chrome to see wich command is not running on it.

Cheers

Nicolas

2011/10/10 Nicolas Larcipretti <niclarcipretti at gmail.com>

> 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/91313cb5/attachment-0002.html 


More information about the vtigercrm-developers mailing list