Issue #70 new

paginate: set href to # for ajax requests

Anonymous created an issue

For module paginate, class Page, method _pagerlink the following:

if self.onclick: .. return HTML.a(text, href=link_url, onclick=onclick_action, **self.link_attr)

should be changed to:

if self.onclick: .. return HTML.a(text, href='#', onclick=onclick_action, **self.link_attr)

otherwise in my jquery mobile app i was getting request being sent twice (second time without partial set to 1, which was breaking the app)

Comments (1)

  1. Log in to comment