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 <josepsanzc...@gmail.com> 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" <rdwo...@gmail.com> 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 <rdwo...@gmail.com> wrote: > > > > Would be great if you could post here: > > > >http://dev.jqueryui.com/newticket(note:requires registration) > > > > 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 > > > <donald.pi...@gmail.com>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 jquery...@googlegroups.com. > > >> To unsubscribe from this group, send email to > > >> jquery-ui+unsubscr...@googlegroups.com<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 jquery...@googlegroups.com. To unsubscribe from this group, send email to jquery-ui+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/jquery-ui?hl=en.