Using Rails' tag helpers instead of bare HTML
This commit is contained in:
parent
5f238d2ec1
commit
869b87bc7b
2 changed files with 9 additions and 1 deletions
|
|
@ -16,5 +16,5 @@ jQuery ->
|
|||
})
|
||||
|
||||
# Submit the form if the user changes the view (grid or list)
|
||||
$("input[name='display']").change ->
|
||||
$("input[name='search[display]']").change ->
|
||||
$(this).parents('form').submit()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue