jquery-datetimepicker-rails 2.1.3.0 → 2.1.4.0
Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2a5e5f6ba162ed0f0656206607e29f3dd41da629
|
4
|
+
data.tar.gz: b9bd6f2be2f44ae75adcd703fe874d59668f082b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 4fd57f043caba087ef517b696eb6dfd457e97dea1f25612208216dbbaafe9017752327449fd1da630c48bb946a9bedee97f69c29470bf84c14cefcab83d96057
|
7
|
+
data.tar.gz: 793475b5187377caf29b75051b4511b49fe69be7be8df65353c7375a8273cd0b91e79ec0cfb5559e422a9ffa670b80fc189259bc2b4dd9d4f96451103a2a9852
|
@@ -1,5 +1,5 @@
|
|
1
1
|
/**
|
2
|
-
* @preserve jQuery DateTimePicker plugin v2.1.
|
2
|
+
* @preserve jQuery DateTimePicker plugin v2.1.4
|
3
3
|
* @homepage http://xdsoft.net/jqplugins/datetimepicker/
|
4
4
|
* (c) 2013, Chupurnov Valeriy.
|
5
5
|
*/
|
@@ -323,8 +323,10 @@
|
|
323
323
|
if( options.datepicker && !options.timepicker )
|
324
324
|
timepicker.removeClass('active');
|
325
325
|
|
326
|
-
if( options.value )
|
326
|
+
if( options.value ){
|
327
327
|
input&&input.val&&input.val(options.value);
|
328
|
+
_xdsoft_datetime.setCurrentTime(options.value);
|
329
|
+
}
|
328
330
|
|
329
331
|
if( isNaN(options.dayOfWeekStart)||parseInt(options.dayOfWeekStart)<0||parseInt(options.dayOfWeekStart)>6 )
|
330
332
|
options.dayOfWeekStart = 0;
|
@@ -501,7 +503,7 @@
|
|
501
503
|
|
502
504
|
$('body').append(datetimepicker);
|
503
505
|
|
504
|
-
var
|
506
|
+
var _xdsoft_datetime = new function() {
|
505
507
|
var _this = this;
|
506
508
|
_this.now = function() {
|
507
509
|
return new Date();
|
@@ -575,8 +577,7 @@
|
|
575
577
|
_this.str = function() {
|
576
578
|
return _this.currentTime.dateFormat(options.format);
|
577
579
|
};
|
578
|
-
}
|
579
|
-
_xdsoft_datetime = new XDSoftDateTime;
|
580
|
+
};
|
580
581
|
mounth_picker
|
581
582
|
.find('.xdsoft_today_button')
|
582
583
|
.on('mousedown.xdsoft',function() {
|