active_scaffold 3.7.2 → 3.7.3.1

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,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: f1c01273f43a7214112a02b40bb586bba990baa0960e75977bd74263ef53d707
4
- data.tar.gz: aa8a443eb2b4f64d368ebce26f1fa53667608dc9185fc2ef76ed365a11ee9224
3
+ metadata.gz: 19423579470e1bb8a461f8e636f6f8fd78eaecfd9bcbd369308ae6e3e5579d9e
4
+ data.tar.gz: cd1c919152e1548b5ec36713d4ed6e2bed68e9c442b7d4d8b2ec623446a4a876
5
5
  SHA512:
6
- metadata.gz: 187a8c7a33e53747b87035c156776b5d0a4318eb2937fd40e80e73fc4571ea0a4c7d514c8d7f6bbafd361311b55f1588470017465dae1ed534221767b04f328e
7
- data.tar.gz: 50b05425009f23b58e53d2984aebe9e7e6b16909638ae48d20ae866137a99e5b83579783f30c40084cb9aadc176dc9f1dbb966b3de516298165ce926def47e60
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 jquery_ui
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"