Done -- https://issues.apache.org/jira/browse/WICKET-5125

Andrew

On Fri, Mar 29, 2013 at 6:13 PM, Ernesto Reinaldo Barreiro
<reier...@gmail.com> wrote:
> Please report this in a new issue so that proper action can be taken.
>
>
> On Fri, Mar 29, 2013 at 7:06 PM, Andrew Geery <andrew.ge...@gmail.com>wrote:
>
>> Using the DatePicker in a ModalWindow, I get the error below after
>> using the calendar widget and closing the modal.  The widget works
>> fine for me; it's simply throwing a JS error in IE8 (displayed in the
>> lower lefthand corner of the browser).  I don't see the error in other
>> browsers.
>>
>> The problematic line in wicket-date.js is this one:
>>
>> YAHOO.wicket[cfg.dpJs].hide();
>>
>> I can avoid the error simply by adding a condition to the if-statement
>> that is wrapped around the hide method to check that
>> YAHOO.wicket[cfg.dpJs] is not null:
>>
>> if (... && YAHOO.wicket[cfg.dpJs]) ...
>>
>> I'm guessing that this is related to the bug fix for
>> https://issues.apache.org/jira/browse/WICKET-4975 -- perhaps the
>> widget is getting destroyed in IE before it can be hidden?
>>
>> Thanks
>> Andrew
>>
>> ========================================
>>
>> Webpage error details
>>
>> User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.2;
>> Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR
>> 3.0.4506.2152; .NET CLR 3.5.30729)
>> Timestamp: Fri, 29 Mar 2013 17:54:46 UTC
>>
>> Message: 'YAHOO.wicket[...]' is null or not an object
>> Line: 308
>> Char: 6
>> Code: 0
>> URI:
>> http://127.0.0.1:8080/test/wicket/resource/org.apache.wicket.extensions.yui.calendar.DatePicker/wicket-date-ver-1359131272000.js
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
>> For additional commands, e-mail: users-h...@wicket.apache.org
>>
>>
>
>
> --
> Regards - Ernesto Reinaldo Barreiro

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
For additional commands, e-mail: users-h...@wicket.apache.org

Reply via email to