Skip to content

Commit f153326

Browse files
author
T_S_V
committed
Changed used function
1 parent 3ab6021 commit f153326

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/bootstrapdatepicker.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ function init(Survey, $) {
116116
question.valueChangedCallback = function () {
117117
// pickerWidget.val(question.value);
118118
// $el.bootstrapDP('update', moment(question.value, "DD/MM/YYYY").toDate());
119-
pickerWidget.datepicker("update", !!question.value ? new Date(question.value) : "");
119+
pickerWidget.bootstrapDP("update", !!question.value ? new Date(question.value) : "");
120120
};
121121
question.valueChangedCallback();
122122
question.readOnlyChangedCallback = function () {

0 commit comments

Comments
 (0)