bootstrap-datepicker-rails 1.0.0.3 → 1.0.0.4
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: 4f53b412ccc47abdc41144ff0574a9c40156089f
|
4
|
+
data.tar.gz: 7f00d20485ee4ecacdf36e365806e9dbe3a240e3
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 750051e8f825ebe9fbb92f6273d504decd92aa36ac4cd5e0e5e15873e859cf6939de192e7d6533dda77decd7d7a90387f61b91c141050d727020ddb41f9381dc
|
7
|
+
data.tar.gz: 4b245b6c1f58f08b662e518c0d842a0a84655ac3285f0e4af63d31ace1d7fa03ffb8a1ce3ef93f2a6e5c7a602101601998dc40c26267f35cf15e99a164b97ebd
|
@@ -308,7 +308,6 @@
|
|
308
308
|
if (this.component){
|
309
309
|
this.element.find('input').val(formatted);
|
310
310
|
}
|
311
|
-
this.element.data('date', formatted);
|
312
311
|
} else {
|
313
312
|
this.element.val(formatted);
|
314
313
|
}
|
@@ -374,6 +373,7 @@
|
|
374
373
|
fromArgs = true;
|
375
374
|
} else {
|
376
375
|
date = this.isInput ? this.element.val() : this.element.data('date') || this.element.find('input').val();
|
376
|
+
delete this.element.data().date;
|
377
377
|
}
|
378
378
|
|
379
379
|
this.date = DPGlobal.parseDate(date, this.format, this.language);
|
@@ -467,7 +467,7 @@
|
|
467
467
|
endYear = this.endDate !== Infinity ? this.endDate.getUTCFullYear() : Infinity,
|
468
468
|
endMonth = this.endDate !== Infinity ? this.endDate.getUTCMonth() : Infinity,
|
469
469
|
currentDate = this.date && this.date.valueOf();
|
470
|
-
this.picker.find('.datepicker-days thead th.switch')
|
470
|
+
this.picker.find('.datepicker-days thead th.datepicker-switch')
|
471
471
|
.text(dates[this.language].months[month]+' '+year);
|
472
472
|
this.picker.find('tfoot th.today')
|
473
473
|
.text(dates[this.language].today)
|
@@ -588,7 +588,7 @@
|
|
588
588
|
switch(target[0].nodeName.toLowerCase()) {
|
589
589
|
case 'th':
|
590
590
|
switch(target[0].className) {
|
591
|
-
case 'switch':
|
591
|
+
case 'datepicker-switch':
|
592
592
|
this.showMode(1);
|
593
593
|
break;
|
594
594
|
case 'prev':
|
@@ -1095,7 +1095,7 @@
|
|
1095
1095
|
headTemplate: '<thead>'+
|
1096
1096
|
'<tr>'+
|
1097
1097
|
'<th class="prev"><i class="icon-arrow-left"/></th>'+
|
1098
|
-
'<th colspan="5" class="switch"></th>'+
|
1098
|
+
'<th colspan="5" class="datepicker-switch"></th>'+
|
1099
1099
|
'<th class="next"><i class="icon-arrow-right"/></th>'+
|
1100
1100
|
'</tr>'+
|
1101
1101
|
'</thead>',
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: bootstrap-datepicker-rails
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.0.0.
|
4
|
+
version: 1.0.0.4
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Gonzalo Rodríguez-Baltanás Díaz
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-
|
11
|
+
date: 2013-05-10 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: railties
|
@@ -184,7 +184,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
184
184
|
version: '0'
|
185
185
|
requirements: []
|
186
186
|
rubyforge_project:
|
187
|
-
rubygems_version: 2.0.
|
187
|
+
rubygems_version: 2.0.3
|
188
188
|
signing_key:
|
189
189
|
specification_version: 4
|
190
190
|
summary: A date picker for Twitter Bootstrap
|