click-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sa...@apache.org
Subject svn commit: r930797 - /click/trunk/click/extras/src/org/apache/click/extras/control/DateField.java
Date Mon, 05 Apr 2010 05:22:38 GMT
Author: sabob
Date: Mon Apr  5 05:22:37 2010
New Revision: 930797

URL: http://svn.apache.org/viewvc?rev=930797&view=rev
Log:
use language variable

Modified:
    click/trunk/click/extras/src/org/apache/click/extras/control/DateField.java

Modified: click/trunk/click/extras/src/org/apache/click/extras/control/DateField.java
URL: http://svn.apache.org/viewvc/click/trunk/click/extras/src/org/apache/click/extras/control/DateField.java?rev=930797&r1=930796&r2=930797&view=diff
==============================================================================
--- click/trunk/click/extras/src/org/apache/click/extras/control/DateField.java (original)
+++ click/trunk/click/extras/src/org/apache/click/extras/control/DateField.java Mon Apr  5
05:22:37 2010
@@ -592,7 +592,7 @@ public class DateField extends TextField
             // than English
             if (!"en".equals(language)) {
                 JsImport jsImport = new JsImport("/click/calendar/"
-                    + getLocale().getLanguage() + ".js", versionIndicator);
+                    + language + ".js", versionIndicator);
                 jsImport.setAttribute("charset", "UTF-8");
                 headElements.add(jsImport);
             }



Mime
View raw message