ad2games-ui_components 2.0.11 → 2.0.12
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/app/cells/date_range/date_range.coffee +2 -3
- data/lib/ui_components/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 1cca84af9bbca2ebe4d08599932278bfbce68e48
|
4
|
+
data.tar.gz: ee45fdf6497bf9400c0581f15351d3a655452ab9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: fc8af32b42ce8deaf6d3e9b466353176b9ec576c01d22abf193fab1fae723cace8ac05af1a6b3812abc051281d67762e650ff826b8ec0391d718cc990cf697bc
|
7
|
+
data.tar.gz: 5f052bc8f70a2037a959ee10f96d813f8b55f5df3f1d418776c5560e26e1ee8c8716137d326ca398bc79a7a5155e41feccbd66a7360291c429b302660c2012dd
|
@@ -33,12 +33,11 @@ $(document).on 'uic:domchange', (e) ->
|
|
33
33
|
(val) -> val && val.toString().length > 0
|
34
34
|
end_date = _.find [$el.data('endDate'), $end_input.val(), yesterday],
|
35
35
|
(val) -> val && val.toString().length > 0
|
36
|
-
opens = _.find [$el.data('opens')]
|
37
36
|
|
38
37
|
options = _.extend({},
|
39
38
|
defaults,
|
40
|
-
_.pick($el.data(), ['dateLimit', 'ranges', 'submitOnChange']),
|
41
|
-
{ startDate: start_date, endDate: end_date
|
39
|
+
_.pick($el.data(), ['dateLimit', 'ranges', 'submitOnChange', 'opens']),
|
40
|
+
{ startDate: start_date, endDate: end_date })
|
42
41
|
|
43
42
|
options.ranges = _.mapObject(options.ranges, (v, k) -> _.map(v, (v) -> moment(v)))
|
44
43
|
options.startDate = moment(options.startDate)
|