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 2016/06/02 09:46:35 UTC
svn commit: r1746543 -
/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 Jun 2 09:46:35 2016
New Revision: 1746543
URL: http://svn.apache.org/viewvc?rev=1746543&view=rev
Log:
TOBAGO-1483
* bugfix
[developed by hnoeth]
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=1746543&r1=1746542&r2=1746543&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 Jun 2 09:46:35 2016
@@ -161,6 +161,13 @@ Tobago.DateTime.analyzePattern = functio
nextSegment += currentChar;
}
}
+ if (nextSegment != "") {
+ if (escMode) {
+ analyzedPattern += nextSegment;
+ } else {
+ analyzedPattern += Tobago.DateTime.analyzePatternPart(nextSegment);
+ }
+ }
return analyzedPattern;
};