You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on May 30, 2019. It is now read-only.
Copy file name to clipboardExpand all lines: appserver/java-spring/static/app/directives/ssFacetDateRange.js
+26Lines changed: 26 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -41,6 +41,7 @@ define(['app/module'], function (module) {
41
41
* | `dateEndPlaceholder` | {@type string} | Formatted representation of the late date found (shadowed) search results to use as placeholder in the dateEnd picker. |
42
42
* | `pickerDateStart` | {@type Date? } | If a Date object, the value of the dateStart search constraint represented as a day for the dateStart picker. |
43
43
* | `pickerDateEnd` | {@type Date? } | If a Date object, the value of the dateEnd search constraint represented as a day for the dateEnd picker. |
44
+
* | `lastValid` | {@type object } | Stores the last valid Date values for pickerDateStart and pickerDateEnd to be used in the case of an invalid date through manual entry. |
44
45
*/
45
46
46
47
/* jshint ignore:end */
@@ -182,6 +183,8 @@ define(['app/module'], function (module) {
182
183
returnfalse;// no more jquery event handling
183
184
};
184
185
186
+
// simple utility function thtat checks to see if the date passed
187
+
// has a value that is different from the value of the constraint
0 commit comments