I found a problem when I was using pagination in a jQuery Mobile theme, when there was no pagination it was still showing an empty DIV and causing a loading loop - I figured out by using and extra conditional statement in the pagination_bottom I resolved the issue
- Code: Select all
<cms:if k_paginated_bottom && k_count != k_total_records>
<div data-role="navbar">
<ul>
<cms:if k_paginate_link_prev >
<li><a href="<cms:show k_paginate_link_prev />"><i class="icon-chevron-left"></i> Prev</a></li>
</cms:if>
<cms:if k_paginate_link_next >
<li><a href="<cms:show k_paginate_link_next />">Next <i class="icon-chevron-right"></i></a></li>
</cms:if>
</ul>
</div>
</cms:if>