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