active_scaffold_config_list 3.2.0 → 3.2.1
Sign up to get free protection for your applications and to get access to all the features.
@@ -1,4 +1,4 @@
|
|
1
|
-
<ol id="<%= config_list_ol_id %>" class="form">
|
1
|
+
<ol id="<%= config_list_ol_id %>" class="form sortable-container">
|
2
2
|
<% hidden_columns = if !config_list_params.nil? && config_list_params.is_a?(Array)
|
3
3
|
config_list = config_list_params
|
4
4
|
active_scaffold_config.list.columns.collect_visible.select{|column| config_list.exclude? column.name}
|
@@ -12,10 +12,3 @@
|
|
12
12
|
</li>
|
13
13
|
<% end %>
|
14
14
|
</ol>
|
15
|
-
<% if ActiveScaffold.js_framework == :prototype %>
|
16
|
-
<%= sortable_element config_list_ol_id, {:tag => 'li', :url => nil} %>
|
17
|
-
<% elsif ActiveScaffold.js_framework == :jquery %>
|
18
|
-
<% reorder_params = {}
|
19
|
-
options = {:update => false} %>
|
20
|
-
<%= javascript_tag "ActiveScaffold.sortable('#{config_list_ol_id}', #{controller_name.to_json}, #{options.to_json}, #{reorder_params.to_json});" %>
|
21
|
-
<% end %>
|
metadata
CHANGED
@@ -1,13 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_scaffold_config_list
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
hash:
|
4
|
+
hash: 13
|
5
5
|
prerelease:
|
6
6
|
segments:
|
7
7
|
- 3
|
8
8
|
- 2
|
9
|
-
-
|
10
|
-
version: 3.2.
|
9
|
+
- 1
|
10
|
+
version: 3.2.1
|
11
11
|
platform: ruby
|
12
12
|
authors:
|
13
13
|
- Sergio Cambra
|
@@ -15,7 +15,7 @@ autorequire:
|
|
15
15
|
bindir: bin
|
16
16
|
cert_chain: []
|
17
17
|
|
18
|
-
date: 2013-03-
|
18
|
+
date: 2013-03-08 00:00:00 Z
|
19
19
|
dependencies:
|
20
20
|
- !ruby/object:Gem::Dependency
|
21
21
|
type: :runtime
|
@@ -24,17 +24,33 @@ dependencies:
|
|
24
24
|
requirements:
|
25
25
|
- - ">="
|
26
26
|
- !ruby/object:Gem::Version
|
27
|
-
hash:
|
27
|
+
hash: -111562550
|
28
28
|
segments:
|
29
29
|
- 3
|
30
30
|
- 3
|
31
31
|
- 0
|
32
32
|
- rc
|
33
|
-
-
|
34
|
-
version: 3.3.0.
|
33
|
+
- 3
|
34
|
+
version: 3.3.0.rc3
|
35
35
|
version_requirements: *id001
|
36
36
|
prerelease: false
|
37
37
|
name: active_scaffold
|
38
|
+
- !ruby/object:Gem::Dependency
|
39
|
+
type: :runtime
|
40
|
+
requirement: &id002 !ruby/object:Gem::Requirement
|
41
|
+
none: false
|
42
|
+
requirements:
|
43
|
+
- - ">="
|
44
|
+
- !ruby/object:Gem::Version
|
45
|
+
hash: 11
|
46
|
+
segments:
|
47
|
+
- 3
|
48
|
+
- 2
|
49
|
+
- 2
|
50
|
+
version: 3.2.2
|
51
|
+
version_requirements: *id002
|
52
|
+
prerelease: false
|
53
|
+
name: active_scaffold_sortable
|
38
54
|
description: User may reorder and hide/show list columns
|
39
55
|
email: activescaffold@googlegroups.com
|
40
56
|
executables: []
|
@@ -44,8 +60,6 @@ extensions: []
|
|
44
60
|
extra_rdoc_files:
|
45
61
|
- README
|
46
62
|
files:
|
47
|
-
- app/assets/stylesheets/active_scaffold_config_list-ie.css
|
48
|
-
- app/assets/stylesheets/active_scaffold_config_list.css.erb
|
49
63
|
- app/views/active_scaffold_overrides/_show_config_list_form.html.erb
|
50
64
|
- app/views/active_scaffold_overrides/_show_config_list_form_body.html.erb
|
51
65
|
- app/views/active_scaffold_overrides/show_config_list_form.html.erb
|
@@ -1 +0,0 @@
|
|
1
|
-
|