You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@myfaces.apache.org by lo...@apache.org on 2014/07/31 12:45:11 UTC

svn commit: r1614853 - /myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-calendar.js

Author: lofwyr
Date: Thu Jul 31 10:45:11 2014
New Revision: 1614853

URL: http://svn.apache.org/r1614853
Log:
TOBAGO-1415: DatePicker look-and-feel should be more similar to previous

Modified:
    myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-calendar.js

Modified: myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-calendar.js
URL: http://svn.apache.org/viewvc/myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-calendar.js?rev=1614853&r1=1614852&r2=1614853&view=diff
==============================================================================
--- myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-calendar.js (original)
+++ myfaces/tobago/trunk/tobago-theme/tobago-theme-standard/src/main/resources/org/apache/myfaces/tobago/renderkit/html/standard/standard/script/tobago-calendar.js Thu Jul 31 10:45:11 2014
@@ -500,11 +500,13 @@ Tobago.DateTime.init = function (element
 
         var analyzed = Tobago.DateTime.analyzePattern(date.data("tobago-pattern"));
         var options = {
-          showOn: "both",
+          showOn: "button",
           buttonImageOnly: true,
 // tbd          changeMonth: true,
 // tbd          changeYear: true,
-          showAnim: "" // just show it directly
+          showAnim: "", // just show it directly
+          showOtherMonths: true,
+          selectOtherMonths: true
         };
         var icon = date.data("tobago-date-time-icon");
         if (icon) {