pg_rails 7.6.14 → 7.6.15
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/pg_layout/app/javascript/application.js +6 -4
- data/pg_rails/lib/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 3db6eee59bbd35a8a834cb9d09b7a6a1d04fe49026661b4dba7d66dd02580484
|
4
|
+
data.tar.gz: e4aca63a466bba3b75d01db82a4146b79d7f25de228afcede2568c072edd3808
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a8b824b4d410a79f47b13696748dcbcfc051a762a6b9e2a0a400f33d58f1ed6db699e4bbcb6c77c1920f5f5601c0e81caa4c161487e6dc274388ba154af5a22c
|
7
|
+
data.tar.gz: a7f81b4a9bdc9e86ee4595b5d64af8f11992f09e089c14f0e9468a41cd982b6f5106b382c05051986689504bc8156ab46f7cee9ce5397972f74ed14c5a83d39c
|
@@ -48,10 +48,12 @@ document.addEventListener('pg:record-created', (ev) => {
|
|
48
48
|
})
|
49
49
|
|
50
50
|
document.addEventListener('pg:record-updated', (ev) => {
|
51
|
-
|
52
|
-
|
53
|
-
|
54
|
-
|
51
|
+
if (!ev.data.dataset.inline) {
|
52
|
+
Turbo.visit(window.location)
|
53
|
+
setTimeout(() => {
|
54
|
+
Turbo.cache.clear()
|
55
|
+
}, 1000)
|
56
|
+
}
|
55
57
|
})
|
56
58
|
|
57
59
|
document.addEventListener('pg:record-destroyed', (ev) => {
|
data/pg_rails/lib/version.rb
CHANGED