We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a240066 commit 6b94bbeCopy full SHA for 6b94bbe
src/jquery-ui-datepicker.js
@@ -1,5 +1,4 @@
1
function init(Survey, $) {
2
-
3
$ = $ || window.$;
4
if (!$.fn.bootstrapDP && !!$.fn.datepicker && !!$.fn.datepicker.noConflict) {
5
$.fn.bootstrapDP = $.fn.datepicker.noConflict();
@@ -44,8 +43,8 @@ function init(Survey, $) {
44
43
onSetValue: function(obj, value, jsonConv) {
45
var newValue = value || "/";
46
if(!!obj.shortDateFormat) {
47
- var regex = new RegExp(obj.dateSeparator, 'g');
48
- obj.shortDateFormat = obj.shortDateFormat.replace(regex, newValue);
+ var regex = new RegExp(obj.dateSeparator, "g");
+ obj.shortDateFormat = obj.shortDateFormat.replace(regex, newValue);
49
}
50
obj.setPropertyValue("dateSeparator", newValue);
51
},
0 commit comments