You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 28, 2018. It is now read-only.
Hi, I was just wondering why it is not possible to pass a URL to Turbolinks.replace?
I now have do the following (which is okay but I was expecting that turbolinks is capable of this):
$.get(price_table_invoice_path,function(partial_html){Turbolinks.replace(partial_html,{change: ['price-table']});});// What I would expect:Turbolinks.replace(price_table_invoice_path,{change: ['price-table']});
Turbolinks.visit(invoice_path, { change: ['price-table'] }) would render the whole layout etc. on the server-side which should increase server's workload since I only need to reload/replace a small partial part of the page.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Hi, I was just wondering why it is not possible to pass a URL to Turbolinks.replace?
I now have do the following (which is okay but I was expecting that turbolinks is capable of this):
Turbolinks.visit(invoice_path, { change: ['price-table'] })
would render the whole layout etc. on the server-side which should increase server's workload since I only need to reload/replace a small partial part of the page.The text was updated successfully, but these errors were encountered: