diff options
author | Guillermo Iguaran <guilleiguaran@gmail.com> | 2017-02-20 14:29:26 +0900 |
---|---|---|
committer | Guillermo Iguaran <guilleiguaran@gmail.com> | 2017-02-20 14:29:55 +0900 |
commit | 41c33bd4b2ec3f4a482e6030b6fda15091d81e4a (patch) | |
tree | 12a2884bf4e822b80484b4f3b5b2f2f44e840347 /actionview/test/ujs/views | |
parent | a2234c5f68edebe7f842873f0c0d7c53b439861c (diff) | |
download | rails-41c33bd4b2ec3f4a482e6030b6fda15091d81e4a.tar.gz rails-41c33bd4b2ec3f4a482e6030b6fda15091d81e4a.tar.bz2 rails-41c33bd4b2ec3f4a482e6030b6fda15091d81e4a.zip |
Import rails-ujs v0.1.0 from rails/rails-ujs
Diffstat (limited to 'actionview/test/ujs/views')
-rw-r--r-- | actionview/test/ujs/views/layouts/application.html.erb | 2 | ||||
-rw-r--r-- | actionview/test/ujs/views/tests/index.html.erb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/actionview/test/ujs/views/layouts/application.html.erb b/actionview/test/ujs/views/layouts/application.html.erb index 74fa3bd06d..e09b213b72 100644 --- a/actionview/test/ujs/views/layouts/application.html.erb +++ b/actionview/test/ujs/views/layouts/application.html.erb @@ -21,7 +21,7 @@ <%= script_tag jquery_src %> <script> // This is for test in override.js. - // Must go after jQuery is loaded, but before jquery-ujs. + // Must go before rails-ujs. $(document).bind('rails:attachBindings', function() { $.rails.linkClickSelector += ', a[data-custom-remote-link]'; // Hijacks link click before ujs binds any handlers diff --git a/actionview/test/ujs/views/tests/index.html.erb b/actionview/test/ujs/views/tests/index.html.erb index 393a5ee235..2ac44eeb81 100644 --- a/actionview/test/ujs/views/tests/index.html.erb +++ b/actionview/test/ujs/views/tests/index.html.erb @@ -1,4 +1,4 @@ -<% @title = "jquery-ujs test" %> +<% @title = "rails-ujs test" %> <%= test_to 'data-confirm', 'data-remote', 'data-disable', 'data-disable-with', 'call-remote', 'call-remote-callbacks', 'data-method', 'override', 'csrf-refresh', 'csrf-token' %> |