mirror of
https://github.com/silverstripe/silverstripe-userforms.git
synced 2024-10-22 17:05:42 +02:00
MINOR make the ajax requests relative to base
This commit is contained in:
parent
a2f3381061
commit
9fd0a4b531
@ -24,13 +24,13 @@
|
||||
<% if Submissions.MoreThanOnePage %>
|
||||
<div class="pagination">
|
||||
<% if Submissions.NotFirstPage %>
|
||||
<a class="prev" href="javascript:void(0)" onclick="jQuery('.middleColumn').parent().load($('base').get(0).href+'/{$Top.Link}/getSubmissions/?start={$Submissions.PrevStart}');" title="View the previous page">Previous page</a>
|
||||
<a class="prev" href="javascript:void(0)" onclick="jQuery('.middleColumn').parent().load(jQuery('base').get(0).href+'/{$Top.Link}/getSubmissions/?start={$Submissions.PrevStart}');" title="View the previous page">Previous page</a>
|
||||
<% end_if %>
|
||||
|
||||
<span>Viewing rows $Submissions.Start - $Submissions.StartPlusOffset of $Submissions.TotalCount rows</span>
|
||||
|
||||
<% if Submissions.NotLastPage %>
|
||||
<a class="next" href="javascript:void(0)" onclick="jQuery('#FormSubmissions').parent().load($('base').get(0).href+'/{$Top.Link}/getSubmissions/?start={$Submissions.NextStart}');" title="View the next page">Next page</a>
|
||||
<a class="next" href="javascript:void(0)" onclick="jQuery('#FormSubmissions').parent().load(jQuery('base').get(0).href+'/{$Top.Link}/getSubmissions/?start={$Submissions.NextStart}');" title="View the next page">Next page</a>
|
||||
<% end_if %>
|
||||
</div>
|
||||
<% end_if %>
|
||||
|
Loading…
Reference in New Issue
Block a user