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 366b4c3 commit 3585502Copy full SHA for 3585502
src/jquery-ui-datepicker.js
@@ -52,8 +52,20 @@ function init(Survey, $) {
52
if (config.onSelect === undefined) {
53
config.onSelect = function(dateText) {
54
question.value = dateText;
55
+ this.fixFocusIE = true;
56
};
57
}
58
+ config.fixFocusIE = false;
59
+ config.onClose = function(dateText, inst) {
60
61
+ };
62
+ config.beforeShow = function(input, inst) {
63
+ var result = !!navigator.userAgent.match(/Trident\/7\./)
64
+ ? !this.fixFocusIE
65
+ : true;
66
+ this.fixFocusIE = false;
67
+ return result;
68
69
var pickerWidget = $el.datepicker(config);
70
71
$el.keyup(function(e) {
0 commit comments