bootstrap_builders 0.0.32 → 0.0.33
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA1:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: a62bc453be7a80f2662495a8b88d3693f79fcd47
|
|
4
|
+
data.tar.gz: a74b8b4b82622596e93622f1a177baaa69295b97
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4a0b236f37c069ff6ec9031250be582a933562461f339579205a1c6d051ec5a6dc6526cb56dddbd875bf984bdb983a40c8c3b773e26c9fffe01cd6c2916fc165
|
|
7
|
+
data.tar.gz: 70d8233cb4b448b15bd70cdd6b99d9a358ac895f6b039518ca0cd8d089b81fa29d923aad511105e51940a884e1bb0507785a42bf8774cbf915f2374efc2cc665
|
|
@@ -24,11 +24,15 @@
|
|
|
24
24
|
# Parses the date in the input-field and updates all the hidden Rails-inputs from the parsed values.
|
|
25
25
|
updateValues: ->
|
|
26
26
|
text_ele = $("input.bb_date_picker, input.bb_date_time_picker", $(@))
|
|
27
|
-
year_ele = $(".bb-date-picker-input-year", $(@))
|
|
28
|
-
month_ele = $(".bb-date-picker-input-
|
|
29
|
-
day_ele = $(".bb-date-picker-input-day", $(@))
|
|
30
|
-
hour_ele = $(".bb-date-picker-input-hour", $(@))
|
|
31
|
-
min_ele = $(".bb-date-picker-input-min", $(@))
|
|
27
|
+
year_ele = $(".bb-date-picker-input-year", $(@))
|
|
28
|
+
month_ele = $(".bb-date-picker-input-month", $(@))
|
|
29
|
+
day_ele = $(".bb-date-picker-input-day", $(@))
|
|
30
|
+
hour_ele = $(".bb-date-picker-input-hour", $(@))
|
|
31
|
+
min_ele = $(".bb-date-picker-input-min", $(@))
|
|
32
|
+
|
|
33
|
+
throw "Could not find year element: " + year_ele if year_ele.length <= 0
|
|
34
|
+
throw "Could not find month element: " + month_ele if month_ele.length <= 0
|
|
35
|
+
throw "Could not find month element: " + day_ele if day_ele.length <= 0
|
|
32
36
|
|
|
33
37
|
if $.trim(text_ele.val()) == ""
|
|
34
38
|
year_ele.val("")
|