Skip to content

Commit a4746e4

Browse files
authored
Merge pull request #23 from NazarK/turbolinks_fix
fix for turbolinks
2 parents cedf046 + 3f1ff60 commit a4746e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vendor/assets/javascripts/active_admin_scoped_collection_actions.js.coffee

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22

33
$(document).ready ->
44

5-
$('.scoped_collection_action_button').click (e) ->
5+
$(document).on 'click', '.scoped_collection_action_button', (e) ->
66
e.preventDefault()
77
fields = JSON.parse( $(this).attr('data') )
88

0 commit comments

Comments
 (0)