sibu 0.1.23 → 0.1.24

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: cf0a50b455e8b126a684c7e873aab00e81d81c5b
4
- data.tar.gz: 92a49e130dcfb15a8d4d468f9477ea688621b184
3
+ metadata.gz: 2c985f14f2cabfa806c0d6b71bf4789ec20c7895
4
+ data.tar.gz: 8718dd2ff6b222e587181d87cef123282228c372
5
5
  SHA512:
6
- metadata.gz: ff2da9127eb7226336125f793ec6f174c5745b163f93e3e4d18e603033d206f1bfeb07231561fd1a2c485d69996cf55a425b8db808bec2c3cf8895f10cb46b1c
7
- data.tar.gz: ad09d978727300f5c30bb1f3f21d7aa8d5151428f787db9c3004bccceb2af187eab3b77011e1354d4b18621f3fc581478a46b44d3c7d24dd845d4c159eb21f03
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: 'cancelEdit(); return false;' %>
21
+ <%= link_to 'Annuler', '#', onclick: 'cancelSectionsEdit(); return false;' %>
22
22
  </div>
23
23
  </div>
24
24
  <% end %>
@@ -1,3 +1,3 @@
1
1
  module Sibu
2
- VERSION = '0.1.23'
2
+ VERSION = '0.1.24'
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: sibu
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.1.23
4
+ version: 0.1.24
5
5
  platform: ruby
6
6
  authors:
7
7
  - Jean-Baptiste Vilain