Closed clyfe closed 13 years ago
Works for me.... GET "/doping_tests/render_field?column=result&id=1&update_columns[]=tested_at&value=&source_id=record_result_1" GET "/doping_tests/render_field?column=result&id=1&update_columns[]=tested_at&value=1&source_id=record_result_1
Any news concerning this issue. My environment: firefox 3.x and rails 3.0.5 What about your environment?
I am rails 3.0.7, AS 3.0.19, Chromium 10.0 browser, jQuery Sample app https://github.com/clyfe/as_bugs see README
2 XHR finished loading: "http://localhost:3000/roles/render_field?column=is_admin&update_columns[]=what_he_is&value=1&source_id=record_is_admin_".
All action_links are not opened inline. Do you have the same behaviour on your site?
Yes, that too! (in the as_bugs app, in my other private app action links work ok)
Your whole javascript is nt working please upgrade to jquery 1.4.4. 1.4.1 is nt working
I upgraded, now the action links work, but the update_columns is still the same
2 XHR finished loading: "http://localhost:3000/roles/render_field?column=is_admin&update_columns[]=what_he_is&value=1&source_id=record_is_admin_".
Apart from that I was able to reproduce your issue, but I ve got no idea so far why it isnt working.
Finally find some time to take a detailled look.. Seems that code did not work with all jquery versions.. Hope that my last commit fixed your issue.
When using the update_columns feature:
conf.columns[:foo] = :bar
when :foo is a check-box the same value is sent no matter if the check-box is checked or not. When the check-box is checked the value should be sent and when it's unchecked nothing should be sent.