imagine_cms 3.0.24 → 3.0.25
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,15 +1,15 @@
|
|
1
1
|
---
|
2
2
|
!binary "U0hBMQ==":
|
3
3
|
metadata.gz: !binary |-
|
4
|
-
|
4
|
+
Zjg2MDIyZDAwZWVkNzdlZTQ4NWE5ODY5N2FjZWM3ODBiYWI3MTJmYg==
|
5
5
|
data.tar.gz: !binary |-
|
6
|
-
|
6
|
+
ZTkwZGY5YTkyZDI5MWE3MTc0ZjUzM2U5YmYxOGIyNWY1YjRkMjE0YQ==
|
7
7
|
SHA512:
|
8
8
|
metadata.gz: !binary |-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
Njc5YTcyMDdhNDMyY2JhMDlmMWVjN2Y3M2NmNzc3Yjk5NmRhMTYxY2RiMzM4
|
10
|
+
ZjA3OWExYTBmMTg2MmQ5MDc0OGFmYmQ0MGZhYWU3ZDdiNDFiYThiYmUzNGU3
|
11
|
+
MjVjZDNiYTNjM2JmOTY3YmMyMDU3M2NkZTczMjVhNDYwODMzNTI=
|
12
12
|
data.tar.gz: !binary |-
|
13
|
-
|
14
|
-
|
15
|
-
|
13
|
+
ZDA2ODJjZjhkMmZhMGYwM2NiNWZhMDdhZmNmYTU5YzAzYWQ4ZWRkMzdhMTlk
|
14
|
+
MTk1ODk1ZWU0NjUwMzdmZTVhZWExZmIzZjcwM2IxOWZmNzk5NGFlZmM5NWE2
|
15
|
+
YTVjMGQzOTNjY2YwYzUwZWUyNjAyMDg3ZjA5MjIyMWI2MzJiOTY=
|
@@ -131,7 +131,10 @@ module Cms # :nodoc:
|
|
131
131
|
params[:page_list_name] = db_path.pop
|
132
132
|
params[:offset] = db_path.pop
|
133
133
|
db_path.pop
|
134
|
+
|
135
|
+
# don't cache to disk, but do allow browsers and proxies to cache briefly
|
134
136
|
@allow_caching = false
|
137
|
+
expires_in 5.minutes, :public => true
|
135
138
|
end
|
136
139
|
end
|
137
140
|
|
@@ -157,13 +157,14 @@ module ActionControllerExtensions
|
|
157
157
|
content << " class=\"page_list_segment\""
|
158
158
|
content << " onmouseover=\"this.className = 'page_list_segment page_list_segment_selected'\""
|
159
159
|
content << " onmouseout=\"this.className = 'page_list_segment'\""
|
160
|
-
content << " onclick=\"
|
160
|
+
content << " onclick=\"$('#{key}').style.cursor = 'wait'; $('#{key}').style.opacity = 0.5; "
|
161
161
|
content << remote_function(:update => key, :url => { :content_path => @pg.path.split('/').concat([ 'segment', start.to_s, name ]) })
|
162
|
-
content << "; return false;\""
|
162
|
+
content << "; window.scrollBy(0, - 20 + document.getElementById('#{key}').getBoundingClientRect().top); return false;\""
|
163
163
|
end
|
164
164
|
content << ">#{seg+1}</a></td>"
|
165
165
|
end
|
166
166
|
content << '</tr></table>'
|
167
|
+
content << "<script type=\"text/javascript\">$('#{key}').style.opacity = 1; $('#{key}').style.cursor = 'default';</script>"
|
167
168
|
end
|
168
169
|
|
169
170
|
if options[:wrapper_div]
|
data/lib/imagine_cms/version.rb
CHANGED
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: imagine_cms
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.0.
|
4
|
+
version: 3.0.25
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Aaron Namba
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2013-12-
|
11
|
+
date: 2013-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|