vendor/assets/javascripts/bootstrap-datetimepicker.js in bootstrap3-datetimepicker-rails-3.1.2 vs vendor/assets/javascripts/bootstrap-datetimepicker.js in bootstrap3-datetimepicker-rails-3.1.3
- old
+ new
@@ -1,7 +1,7 @@
/*
-//! version : 3.1.2
+//! version : 3.1.3
=========================================================
bootstrap-datetimepicker.js
https://github.com/Eonasdan/bootstrap-datetimepicker
=========================================================
The MIT License (MIT)
@@ -281,16 +281,10 @@
picker.options.sideBySide = eData.dateSidebyside;
}
if (eData.dateDaysofweekdisabled !== undefined) {
picker.options.daysOfWeekDisabled = eData.dateDaysofweekdisabled;
}
-// $.each(defaults, function (key) {
-// var attributeName = 'date' + key.charAt(0).toUpperCase() + key.slice(1);
-// if (eData[attributeName] !== undefined) {
-// picker.options[key] = eData[attributeName];
-// }
-// });
},
place = function () {
var position = 'absolute',
offset = picker.component ? picker.component.offset() : picker.element.offset(),
@@ -917,16 +911,16 @@
picker.widget.off('click.togglePicker');
}
if (picker.isInput) {
picker.element.off({
'focus': picker.show,
- 'change': picker.change,
+ 'change': change,
'click': picker.show,
'blur' : picker.hide
});
} else {
picker.element.off({
- 'change': picker.change
+ 'change': change
}, 'input');
if (picker.component) {
picker.component.off('click', picker.show);
picker.component.off('mousedown', picker.stopEvent);
} else {