FIX Disable change tracking on configurable paginator inputs

See https://github.com/silverstripe/silverstripe-framework/pull/8486
This commit is contained in:
Robbie Averill 2018-10-17 11:36:45 +02:00 committed by GitHub
parent 6e922fcec0
commit 4263c9d970
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@
<td class="grid-field__paginator bottom-all" colspan="$Colspan"> <td class="grid-field__paginator bottom-all" colspan="$Colspan">
<span class="pagination-page-size"> <span class="pagination-page-size">
<%t Symbiote\\GridFieldExtensions\\GridFieldConfigurablePaginator.SHOW 'Show' is 'Verb. Example: Show 1 of 2' %> <%t Symbiote\\GridFieldExtensions\\GridFieldConfigurablePaginator.SHOW 'Show' is 'Verb. Example: Show 1 of 2' %>
<select name="$PageSizesName" class="pagination-page-size-select" data-skip-autofocus="true"> <select name="$PageSizesName" class="pagination-page-size-select no-change-track" data-skip-autofocus="true">
<% loop $PageSizes %> <% loop $PageSizes %>
<option <% if $Selected %>selected="selected"<% end_if %>>$Size</option> <option <% if $Selected %>selected="selected"<% end_if %>>$Size</option>
<% end_loop %> <% end_loop %>
@ -14,7 +14,7 @@
$FirstPage $PreviousPage $FirstPage $PreviousPage
<span class="pagination-page-number"> <span class="pagination-page-number">
<%t SilverStripe\\Forms\\GridField\\GridFieldPaginator.Page 'Page' %> <%t SilverStripe\\Forms\\GridField\\GridFieldPaginator.Page 'Page' %>
<input class="text" value="$CurrentPageNum" data-skip-autofocus="true" /> <input class="text no-change-track" value="$CurrentPageNum" data-skip-autofocus="true" />
<%t SilverStripe\\Forms\\GridField\\GridFieldPaginator.OF 'of' is 'Example: View 1 of 2' %> <%t SilverStripe\\Forms\\GridField\\GridFieldPaginator.OF 'of' is 'Example: View 1 of 2' %>
$NumPages $NumPages
</span> </span>