v26.6.0 updates
This commit is contained in:
12
web/js/bootstrap-datetimepicker.js
vendored
12
web/js/bootstrap-datetimepicker.js
vendored
@@ -266,16 +266,16 @@
|
||||
offset.top = offset.top + this.height;
|
||||
|
||||
var $window = $(window);
|
||||
|
||||
|
||||
if ( this.options.width != undefined ) {
|
||||
this.widget.width( this.options.width );
|
||||
}
|
||||
|
||||
|
||||
if ( this.options.orientation == 'left' ) {
|
||||
this.widget.addClass( 'left-oriented' );
|
||||
offset.left = offset.left - this.widget.width() + 20;
|
||||
}
|
||||
|
||||
|
||||
if (this._isInFixed()) {
|
||||
position = 'fixed';
|
||||
offset.top -= $window.scrollTop();
|
||||
@@ -851,7 +851,7 @@
|
||||
else return 'AM';
|
||||
} else if (property === 'UTCYear') {
|
||||
rv = d.getUTCFullYear();
|
||||
rv = rv.toString().substr(2);
|
||||
rv = rv.toString().substr(2);
|
||||
} else {
|
||||
methodName = 'get' + property;
|
||||
rv = d[methodName]();
|
||||
@@ -1015,7 +1015,7 @@
|
||||
if (!this.isInput) {
|
||||
$(document).on(
|
||||
'mousedown.datetimepicker' + this.id, $.proxy(this.hide, this));
|
||||
|
||||
|
||||
$('.bootstrap-datetime-close-btn').on('click',$.proxy(this.hide, this));
|
||||
}
|
||||
},
|
||||
@@ -1160,7 +1160,7 @@
|
||||
DPGlobal.template +
|
||||
'</div>' +
|
||||
'</li>' +
|
||||
'<li class="picker-switch accordion-toggle"><a><i class="' + timeIcon + '"></i></a></li>' +
|
||||
'<li class="picker-switch accordion-toggle"><a><i class="fa fa-clock faa-wrench animated"></i></a></li>' +
|
||||
'<li' + (collapse ? ' class="collapse"' : '') + '>' +
|
||||
'<div class="timepicker">' +
|
||||
TPGlobal.getTemplate(is12Hours, showSeconds) +
|
||||
|
||||
Reference in New Issue
Block a user