active_scaffold 3.7.2 → 3.7.3.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.rdoc +12 -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 +3 -2
- 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: 19423579470e1bb8a461f8e636f6f8fd78eaecfd9bcbd369308ae6e3e5579d9e
|
4
|
+
data.tar.gz: cd1c919152e1548b5ec36713d4ed6e2bed68e9c442b7d4d8b2ec623446a4a876
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: be7499f2ce41db308452898b8c09d701891659d8a13ef179cc5be022db3b15f1db1f28e25a6f7b160521bf50fa3b258688a255bffcc4247a0e51cc1fb62efaef
|
7
|
+
data.tar.gz: ca811c9dc3c114ae1a5b09456524fa46ae0d59b147ca9a8c54ea0b170ba243f7f5b7ed7ce77397cf6744b47ad88ae7d30ce4618dd69e98d95a5e1503e592aabb
|
data/CHANGELOG.rdoc
CHANGED
@@ -1,3 +1,15 @@
|
|
1
|
+
= 3.7.3.1
|
2
|
+
- Fix search, view was broken when reset_form was added
|
3
|
+
|
4
|
+
= 3.7.3
|
5
|
+
- Escape _ and % when using search with LIKE
|
6
|
+
- Fix ID in nested scaffolds when parent record has string primary key, with invalid chars for HTML ID
|
7
|
+
- Fix search with recordselect multiple
|
8
|
+
- Support loading jquery-ui externally, without jquery-ui-rails gem and ask AS to load JS/CSS for addons based on jquery-ui
|
9
|
+
- Support usage with importmap
|
10
|
+
- 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.
|
11
|
+
- Fix for mongoid 7
|
12
|
+
|
1
13
|
= 3.7.2
|
2
14
|
- Fix routes
|
3
15
|
|
@@ -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"
|