incorrect URL's in links in table-plus in AJAX part
Reported by Bryan Larsen | June 25th, 2010 @ 04:06 PM | in Hobo 1.1
If you use an AJAX part with a table-plus, the sorting and paging URL's will reflect the AJAX action rather than the original action. In other words, if a table-plus gets redisplayed via an AJAX action, clicking on a sorting or paging link will send you to the AJAX action which may not be the action that redisplays the table-plus.
Comments and changes to this ticket
-
Bryan Larsen June 25th, 2010 @ 04:09 PM
This happens because table-plus uses Rails'
url_for
to create the links.url_for
without options creates a link to the current action. The Hobo varview_name
appears to have correct action name. Do you forsee any problems if I useview_name
to build the URL's instead? Any other suggestions? -
Bryan Larsen June 27th, 2010 @ 09:12 PM
- Milestone order changed from 0 to 0
(from [f53c04aedd571f6810a417dd1f09e6b34ae9359c]) [#746] fix fix so it works on the reeport branch http://github.com/tablatom/hobo/commit/f53c04aedd571f6810a417dd1f09...
-
Bryan Larsen November 15th, 2010 @ 03:55 PM
- State changed from new to resolved
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
People watching this ticket
Tags
Referenced by
- 746 incorrect URL's in links in table-plus in AJAX part (from [f53c04aedd571f6810a417dd1f09e6b34ae9359c]) [#746] ...
- 746 incorrect URL's in links in table-plus in AJAX part (from [38f1ba0801cca6c59f4786a3852445450cc9aac8]) [#746] ...
- 746 incorrect URL's in links in table-plus in AJAX part (from [9d56ffcdd9c0e14325dfd493e1c0292695d228b2]) fix for...