lato_cms 3.1.2 → 3.1.3
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
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: c71453863fa3e56037214bc1884c628a66104e331cfd1b13804f2408964d332c
|
|
4
|
+
data.tar.gz: 47f259f2406ed3913f15220c83395ffb6d8e592013980d278fa7e2649c4103aa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: cea16a860d7468d42ec2df54e32ecf18c1d923860f77f66ce3fda79548e637d3e436506fc90c1b9b5ea7b3e0641b45146f288a691bc805089a84be47a4afdf86
|
|
7
|
+
data.tar.gz: 971a5d487ba77d10b7761cf20d976ec38c3ea3fb4bdfc7228a7c626888cb28345894bce7aef71dbca35f40d11f330b1da9b5334dc4334d6587aabb8ec7316051
|
|
@@ -22,7 +22,12 @@ export default class extends Controller {
|
|
|
22
22
|
this.broadcastForCollapse(event.target)
|
|
23
23
|
}
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
// Repeater items are nested collapses without a template component id, and
|
|
26
|
+
// their events bubble up here: closing one would otherwise deselect the
|
|
27
|
+
// component that is still open. Same guard `broadcastForCollapse` applies.
|
|
28
|
+
handleHidden (event) {
|
|
29
|
+
if (!event.target.dataset.templateComponentId) return
|
|
30
|
+
|
|
26
31
|
this.broadcastClosedComponent()
|
|
27
32
|
}
|
|
28
33
|
|
data/lib/lato_cms/version.rb
CHANGED