imagine_cms 3.0.26 → 3.0.27

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: dfcd4a5ebffef204bd7855a693e65ec8419bf65a
4
- data.tar.gz: dce16df887f99e7ab688881b5ad702672d08fdbb
3
+ metadata.gz: 4b65b4ac9e74cec4e8f5ad360593f4172a14aeed
4
+ data.tar.gz: f32212b155ed82d6c9431f0eda50b0c81fd3edfc
5
5
  SHA512:
6
- metadata.gz: 10fe0edfbcfe8e6b75e0fe4961d020d5ad36fd105b5ce63597ddaf5bd504979542908cd2b50d54f0369651872ce6c6bd670a539baf921a1f47f1b220b6725082
7
- data.tar.gz: fa8c59235aa9b3a0ad08b78819e933ce274f9fed2227d1dd320324f79139fa5e9a4c99a27f3f5c7b5c61aa3f552d8e93a3fd27912910f9b19a30e19befd13aad
6
+ metadata.gz: d40a5443c8f53f229f8bdd779a37b963484fe1b43e905f30a3465807858684f5a6b78792c344c532ed06f8aa65b48bc7674e0b0ff0249a17d7136f39b061b1b6
7
+ data.tar.gz: 8d2d111988b3e5b92dd7e56d399ad1deadb59de5b48a9a401194bbcbdb21ffed8108a1bb0143dfcf4f0faf6c232f4b98c9648767fb7064a468a0a94f2466f0bd
@@ -2,22 +2,22 @@
2
2
  <table cellpadding="1" cellspacing="0" border="0">
3
3
  <tbody>
4
4
  <tr valign="top" align="left">
5
- <td onclick="document.forms.page_content_form.elements.btn_save.click();">
5
+ <td onclick="window.onbeforeunload = null; document.forms.page_content_form.elements.btn_save.click();">
6
6
  <!-- save -->
7
7
  <span class="iconContainer">
8
8
  <span title="Save" class="dojoE2TBIcon dojoE2TBIcon_Save">&nbsp;</span>
9
9
  </span>
10
10
  </td>
11
- <td onclick="document.forms.page_content_form.elements.btn_save.click();" style="vertical-align: middle; cursor: pointer">
11
+ <td onclick="window.onbeforeunload = null; document.forms.page_content_form.elements.btn_save.click();" style="vertical-align: middle; cursor: pointer">
12
12
  <span title="Save" style="font-family: Arial">Save</span>
13
13
  </td>
14
- <td onclick="if (confirm('Are you sure you want to throw away any changes to this page since your last save?')) { location.href = '<%= '/' + @pg.path + (@pg.path == '' ? '' : '/') %>version/<%= @pg.version %>'; }">
14
+ <td onclick="if (confirm('Are you sure you want to throw away any changes to this page since your last save?')) { window.onbeforeunload = null; location.href = '<%= '/' + @pg.path + (@pg.path == '' ? '' : '/') %>version/<%= @pg.version %>'; }">
15
15
  <!-- cancel -->
16
16
  <span class="iconContainer">
17
17
  <span title="Cancel" class="dojoE2TBIcon dojoE2TBIcon_Cancel" style="cursor: pointer">&nbsp;</span>
18
18
  </span>
19
19
  </td>
20
- <td onclick="if (confirm('Are you sure you want to throw away any changes to this page since your last save?')) { location.href = '<%= '/' + @pg.path + (@pg.path == '' ? '' : '/') %>version/<%= @pg.version %>'; }" style="vertical-align: middle; cursor: pointer">
20
+ <td onclick="if (confirm('Are you sure you want to throw away any changes to this page since your last save?')) { window.onbeforeunload = null; location.href = '<%= '/' + @pg.path + (@pg.path == '' ? '' : '/') %>version/<%= @pg.version %>'; }" style="vertical-align: middle; cursor: pointer">
21
21
  <span title="Cancel" style="font-family: Arial">Cancel</span>
22
22
  </td>
23
23
 
@@ -1,3 +1,3 @@
1
1
  module ImagineCms
2
- VERSION = "3.0.26"
2
+ VERSION = "3.0.27"
3
3
  end
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: imagine_cms
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.0.26
4
+ version: 3.0.27
5
5
  platform: ruby
6
6
  authors:
7
7
  - Aaron Namba