sibu 0.1.23 → 0.1.24
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: 2c985f14f2cabfa806c0d6b71bf4789ec20c7895
|
|
4
|
+
data.tar.gz: 8718dd2ff6b222e587181d87cef123282228c372
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 8f1a9ce7fb68e9c4a9584add19e30e57f1a2f2eb4c3ca91b139e8e32085c118e230a5ec27791332edf63c8462fa6b6114fb2f9f7536351e640c27b016bdd20b4
|
|
7
|
+
data.tar.gz: 7697e85aba1baab0e67ab794dfa1d6f649d49479e37ee08de3be9068d8e7042b452c23e9a3444ea7ae428dfc79bc05013aefacf3f7daa67db15e936378d1fde2
|
|
@@ -160,6 +160,11 @@
|
|
|
160
160
|
document.body.style.overflow = "initial";
|
|
161
161
|
}
|
|
162
162
|
|
|
163
|
+
function cancelSectionsEdit() {
|
|
164
|
+
$("#sections_panel").slideUp("fast");
|
|
165
|
+
document.body.style.overflow = "initial";
|
|
166
|
+
}
|
|
167
|
+
|
|
163
168
|
function editContent(eltId, sectionId, entity, repeat, contentType, size, children) {
|
|
164
169
|
$.ajax({
|
|
165
170
|
url: "<%= edit_element_site_page_path(@site.id, @page.id) %>",
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
<div class="sibu_panel sibu_view">
|
|
19
19
|
<div class="sibu_actions">
|
|
20
20
|
<%= submit_tag 'Valider' %>
|
|
21
|
-
<%= link_to 'Annuler', '#', onclick: '
|
|
21
|
+
<%= link_to 'Annuler', '#', onclick: 'cancelSectionsEdit(); return false;' %>
|
|
22
22
|
</div>
|
|
23
23
|
</div>
|
|
24
24
|
<% end %>
|
data/lib/sibu/version.rb
CHANGED