app/assets/javascripts/adminsite/admin/hide_and_show.js.coffee in adminsite-3.1.2 vs app/assets/javascripts/adminsite/admin/hide_and_show.js.coffee in adminsite-3.2.0
- old
+ new
@@ -7,15 +7,11 @@
else
checkbox.prop 'checked', null
return
Adminsite.showSearchForm = ->
- $('.search_form form').show()
- $('.search_form a#show').hide()
- $('.search_form a#hide').show()
+ $('form.search').show(200)
return
Adminsite.hideSearchForm = ->
- $('.search_form form').hide()
- $('.search_form a#show').show()
- $('.search_form a#hide').hide()
+ $('form.search').hide(200)
return