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 +4 -4
- data/app/views/management/cms/toolbar_edit.html.erb +4 -4
- data/lib/imagine_cms/version.rb +1 -1
- metadata +1 -1
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA1:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 4b65b4ac9e74cec4e8f5ad360593f4172a14aeed
|
4
|
+
data.tar.gz: f32212b155ed82d6c9431f0eda50b0c81fd3edfc
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
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"> </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"> </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
|
|
data/lib/imagine_cms/version.rb
CHANGED