active_scaffold 3.6.2 → 3.6.3
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
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a5f95a3c7624f3802f29e275341ce3184e9979d91644b48395126b4009fd103e
|
4
|
+
data.tar.gz: af61fae0cf8128ec58d90f4e40b6cbdb95400d5491e790a638bafb1dd8bb4909
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 35795f0bf6eb16148401b4df273c93a02064a3c25d100e58aa17c9de97f48629be77ad4043e30e73e25e208f49318a4ffe877f1d0a2ffee61147fa2cfe8dcc0d
|
7
|
+
data.tar.gz: 8be4d03e807f6a621b7812854d062d472d51047399e435303be25ce85522a29486b8d4d48acf6b7d2e72f22def1960c8801e6409bc45651483d15ff2ec9c9a94
|
data/CHANGELOG.rdoc
CHANGED
@@ -1,3 +1,7 @@
|
|
1
|
+
= 3.6.3
|
2
|
+
- Fix search on nested or embedded lists with rails_ujs
|
3
|
+
- Fix inplace edit when collection action link opens a view with table and th
|
4
|
+
|
1
5
|
= 3.6.2
|
2
6
|
- Fix count query when association's primary key is string
|
3
7
|
- Fix unauthorized_columns and constraint_columns with threadsafe enabled
|
@@ -1024,7 +1024,7 @@ var ActiveScaffold = {
|
|
1024
1024
|
|
1025
1025
|
if (my_parent.is('td')) {
|
1026
1026
|
var column_no = my_parent.prevAll('td').length;
|
1027
|
-
column_heading = my_parent.closest('
|
1027
|
+
column_heading = my_parent.closest('table').find('th:eq(' + column_no + ')');
|
1028
1028
|
} else if (my_parent.is('th')) {
|
1029
1029
|
column_heading = my_parent;
|
1030
1030
|
}
|
@@ -9,8 +9,16 @@
|
|
9
9
|
data: {loading: true},
|
10
10
|
method: :get
|
11
11
|
}
|
12
|
+
|
13
|
+
hidden_params = url_options.except(:controller, :action, :id, :search).to_query.split(Rack::Utils::DEFAULT_SEP)
|
12
14
|
-%>
|
15
|
+
|
13
16
|
<%= form_tag url_options, options %>
|
17
|
+
<% hidden_params.each do |pair| -%>
|
18
|
+
<% key, value = pair.split('=', 2).map { |str| Rack::Utils.unescape(str) } -%>
|
19
|
+
<%= hidden_field_tag(key, value) %>
|
20
|
+
<% end -%>
|
21
|
+
|
14
22
|
<ol class="form">
|
15
23
|
<% visibles, hiddens = visibles_and_hiddens(active_scaffold_config.field_search) %>
|
16
24
|
<% visibles.each do |column| -%>
|
@@ -10,8 +10,15 @@
|
|
10
10
|
data: {loading: true},
|
11
11
|
method: :get
|
12
12
|
}
|
13
|
+
|
14
|
+
hidden_params = url_options.except(:controller, :action, :id, :search).to_query.split(Rack::Utils::DEFAULT_SEP)
|
13
15
|
-%>
|
16
|
+
|
14
17
|
<%= form_tag url_options, options do %>
|
18
|
+
<% hidden_params.each do |pair| -%>
|
19
|
+
<% key, value = pair.split('=', 2).map { |str| Rack::Utils.unescape(str) } -%>
|
20
|
+
<%= hidden_field_tag(key, value) %>
|
21
|
+
<% end -%>
|
15
22
|
<%= search_field_tag :search, (search_params if search_params.is_a? String), :class => 'text-input', :id => search_input_id, :size => 50, :autocomplete => :off, :placeholder => as_(live_search ? :live_search : :search_terms) %>
|
16
23
|
<%= submit_tag as_(submit_text), :class => "submit", :style => ('display:none;' if live_search) %>
|
17
24
|
<%= link_to as_(:reset), url_for(url_options.merge(:search => '')), :class => 'as_cancel reset', :remote => true, :data => {:refresh => true} unless local_assigns[:skip_reset] %>
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: active_scaffold
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 3.6.
|
4
|
+
version: 3.6.3
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Many, see README
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2021-
|
11
|
+
date: 2021-11-24 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: rails
|
@@ -475,7 +475,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
475
475
|
- !ruby/object:Gem::Version
|
476
476
|
version: '0'
|
477
477
|
requirements: []
|
478
|
-
rubygems_version: 3.0.
|
478
|
+
rubygems_version: 3.0.9
|
479
479
|
signing_key:
|
480
480
|
specification_version: 4
|
481
481
|
summary: Rails 4.x and 5.x versions of ActiveScaffold supporting prototype and jquery
|