You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Eelco Hillenius (JIRA)" <ji...@apache.org> on 2007/06/24 19:27:26 UTC

[jira] Commented: (WICKET-687) DatePicker refers to gif files on Yahoo

    [ https://issues.apache.org/jira/browse/WICKET-687?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12507701 ] 

Eelco Hillenius commented on WICKET-687:
----------------------------------------

>From YUI's documentation:
------------------------------------------------------------------------------------------------
YAHOO.widget.Calendar.IMG_ROOT  - static String
The path to be used for images loaded for the Calendar
Deprecated: You can now customize images by overriding the calclose, calnavleft and calnavright default CSS classes for the close icon, left arrow and right arrow respectively 
------------------------------------------------------------------------------------------------

found at http://developer.yahoo.com/yui/docs/YAHOO.widget.Calendar.html


> DatePicker refers to gif files on Yahoo
> ---------------------------------------
>
>                 Key: WICKET-687
>                 URL: https://issues.apache.org/jira/browse/WICKET-687
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.3.0-beta1
>            Reporter: Kent Tong
>
> In org.apache.wicket.extensions.yui.calendar.DatePicker/calendar.js, the IMG_ROOT is set to an Internet site:
> YAHOO.widget.Calendar.IMG_ROOT = (window.location.href.toLowerCase().indexOf("https") === 0 ? "https://a248.e.akamai.net/sec.yimg.com/i/" : "http://us.i1.yimg.com/us.yimg.com/i/");
> This will work only when the computer is on the Internet. If it is run on an intranet, the icons will be broken.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.