i had the same problem.. i actually found it to be a problem with the
CSS files I was using..
namely:
jquery.ui.core.css
jquery.ui.theme.css
jquery.ui.datepicker.css

i have no idea why this is.. debugging in chrome isn't as pleasant as
firefox.. but my simple fix was to redownload the theme i wanted and
that fixed the problem.

hope that helps

j



On Mar 11, 12:38 pm, josepsanzcamp <[email protected]> wrote:
> Some notes about the previous submited post with the trick.
>
> 1) I only detect the bug using the Chrome in GNU/Linux (I not test it
> using a win32 system).
> 2) Only appear when click with the mouse to the month or year select,
> when appear the options list, use the cursor to select another option
> and click to the select element to change the selection (not click to
> the options list).
>
> I expect your suggestions.
>
> Josep.
>
> On Mar 11, 1:24 am, josepsanzcamp <[email protected]> wrote:
>
>
>
> > Hi.
>
> > I have the same problem.
>
> > I test it using 1.3.2+1.7.2 and 1.4.2+1.8rc3 and the problem persist.
>
> > I find a temporal solution for the problem that is in this code:
>
> > /* Action for selecting a new month/year. */
> > _selectMonthYear: function(id, select, period) {
> >         var target = $(id);
> >         var inst = this._getInst(target[0]);
> >         inst._selectingMonthYear = false;
> >         inst['selected' + (period == 'M' ? 'Month' : 'Year')] =
> >         inst['draw' + (period == 'M' ? 'Month' : 'Year')] =
> >                 parseInt(select.options[select.selectedIndex].value,10);
> >         this._notifyChange(inst);
> >         this._adjustDate(target);
>
> > },
>
> > If you add a timeout to the notifyChange and adjustDate, then work
> > fine (see the follow code):
>
> > /* Action for selecting a new month/year. */
> > _selectMonthYear: function(id, select, period) {
> >         var target = $(id);
> >         var inst = this._getInst(target[0]);
> >         inst._selectingMonthYear = false;
> >         inst['selected' + (period == 'M' ? 'Month' : 'Year')] =
> >         inst['draw' + (period == 'M' ? 'Month' : 'Year')] =
> >                 parseInt(select.options[select.selectedIndex].value,10);
> >         var mythis=this;
> >         setTimeout(function() {
> >                 mythis._notifyChange(inst);
> >                 mythis._adjustDate(target);
> >         },1);
>
> > },
>
> > With this trick, the problem disapear.
>
> > I understand that the problem is when repaint the datepicker. The
> > onchange event is executing and when replace the html code with the
> > new content, the function that is executing the interpreter do a
> > crash.
>
> > You can explain more better this success???
>
> > Thanks.
>
> > On Feb 18, 11:06 pm, "Richard D. Worth" <[email protected]> wrote:
>
> > > For example, I tried with
>
> > > jQuery 1.3.2
> > > jQuery UI 1.7.2
> > > Windows 7 Enterprise 64-bit
> > > Google Chrome 4.0.249.89 (38071)http://jsbin.com/awoqo
>
> > > and was not able to reproduce this issue.
>
> > > - Richard
>
> > > On Tue, Feb 16, 2010 at 4:35 PM, Richard D. Worth <[email protected]> 
> > > wrote:
>
> > > > Would be great if you could post here:
>
> > > >http://dev.jqueryui.com/newticket(note:requiresregistration)
>
> > > > and include
>
> > > > * version of jQuery
> > > > * version of jQuery UI
> > > > * version of Windows
> > > > * version of Chrome
> > > > * sample page/code snippet and steps used to produce crash
>
> > > > Also, in the future, if you're able to move over to the new jQuery UI
> > > > forum:
>
> > > >http://forum.jquery.com/using-jquery-ui
>
> > > > that's where we all are these days. Thanks.
>
> > > > - Richard
>
> > > > On Tue, Feb 16, 2010 at 4:28 PM, Donald Piret 
> > > > <[email protected]>wrote:
>
> > > >> Hello All,
>
> > > >> I've consistently managed to get the latest version of Google Chrome
> > > >> windows to crash when using jQuery UI 1.7.2, the datepicker widget,
> > > >> and using the changeMonth or changeYear option set to true. Selecting
> > > >> a date will get the "Aw Snap" page from google chrome.
>
> > > >> --
> > > >> You received this message because you are subscribed to the Google 
> > > >> Groups
> > > >> "jQuery UI" group.
> > > >> To post to this group, send email to [email protected].
> > > >> To unsubscribe from this group, send email to
> > > >> [email protected]<jquery-ui%2bunsubscr...@googlegroups
> > > >>  .com>
> > > >> .
> > > >> For more options, visit this group at
> > > >>http://groups.google.com/group/jquery-ui?hl=en.

-- 
You received this message because you are subscribed to the Google Groups 
"jQuery UI" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/jquery-ui?hl=en.

Reply via email to