active_scaffold 3.7.2 → 3.7.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.rdoc +9 -0
- data/app/assets/javascripts/active_scaffold.js.erb +1 -4
- data/app/assets/javascripts/jquery/active_scaffold.js +1421 -1396
- data/app/assets/javascripts/jquery/draggable_lists.js +6 -4
- data/app/assets/javascripts/jquery/tiny_mce_bridge.js +2 -2
- data/app/assets/stylesheets/active_scaffold_jquery_ui.css.erb +7 -8
- data/app/views/active_scaffold_overrides/_field_search.html.erb +10 -1
- data/app/views/active_scaffold_overrides/_search.html.erb +9 -1
- data/lib/active_scaffold/bridges/date_picker.rb +1 -1
- data/lib/active_scaffold/bridges/record_select/helpers.rb +3 -3
- data/lib/active_scaffold/config/field_search.rb +5 -0
- data/lib/active_scaffold/config/search.rb +5 -0
- data/lib/active_scaffold/finder.rb +14 -4
- data/lib/active_scaffold/helpers/id_helpers.rb +1 -1
- data/lib/active_scaffold/version.rb +1 -1
- data/lib/active_scaffold.rb +6 -0
- data/vendor/assets/javascripts/jquery.ba-throttle-debounce.js +10 -3
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: a98ff18a1304b530e77ea7d79781e8cfa820ae8aa04e0837f69db834b256a62b
|
4
|
+
data.tar.gz: de7d48e31ea6e5656f4eb6468b9c1cb87f1f199298a2a0feaa9ac7e970153f08
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: c567dfec6b211cc3af398b065ddb1eafb80b6c552253966de9caab3aadc288d755b6382c06b83d92bb9090f76e98bcc626bdf1ee1f45c0631128d0a4bcc20090
|
7
|
+
data.tar.gz: 99320dfb881c55c8126ad098f299d3b3230e15e874c013532529e98bb8ee71daa7c0b80b1f77b2501b3a68b109c253f19b649024fc1fcea3d06ca2242bba576e
|
data/CHANGELOG.rdoc
CHANGED
@@ -1,3 +1,12 @@
|
|
1
|
+
= 3.7.3
|
2
|
+
- Escape _ and % when using search with LIKE
|
3
|
+
- Fix ID in nested scaffolds when parent record has string primary key, with invalid chars for HTML ID
|
4
|
+
- Fix search with recordselect multiple
|
5
|
+
- Support loading jquery-ui externally, without jquery-ui-rails gem and ask AS to load JS/CSS for addons based on jquery-ui
|
6
|
+
- Support usage with importmap
|
7
|
+
- Add reset_form to search and field_search, when enabled, reset link will clear input fields in the search form, instead of refreshing the list without search and closing the form.
|
8
|
+
- Fix for mongoid 7
|
9
|
+
|
1
10
|
= 3.7.2
|
2
11
|
- Fix routes
|
3
12
|
|
@@ -1,7 +1,6 @@
|
|
1
1
|
<%
|
2
2
|
case ActiveScaffold.js_framework
|
3
3
|
when :jquery
|
4
|
-
jquery_ui = true
|
5
4
|
require_asset "getprototypeof"
|
6
5
|
require_asset "jquery.ba-throttle-debounce"
|
7
6
|
if Jquery::Rails.const_defined? 'JQUERY_UI_VERSION'
|
@@ -16,10 +15,8 @@
|
|
16
15
|
require_asset "#{jquery_ui_prefix}#{jquery_ui_widgets_prefix}draggable"
|
17
16
|
require_asset "#{jquery_ui_prefix}#{jquery_ui_widgets_prefix}droppable"
|
18
17
|
require_asset "#{jquery_ui_prefix}#{jquery_ui_widgets_prefix}datepicker"
|
19
|
-
else
|
20
|
-
jquery_ui = false
|
21
18
|
end
|
22
|
-
if
|
19
|
+
if ActiveScaffold.jquery_ui_included?
|
23
20
|
require_asset "jquery-ui-timepicker-addon"
|
24
21
|
require_asset "jquery/date_picker_bridge"
|
25
22
|
require_asset "jquery/draggable_lists"
|