File tree Expand file tree Collapse file tree 2 files changed +8
-4
lines changed
app/code/Magento/Backend/view/adminhtml/templates/widget Expand file tree Collapse file tree 2 files changed +8
-4
lines changed Original file line number Diff line number Diff line change @@ -101,7 +101,8 @@ $numColumns = $block->getColumns() !== null ? count($block->getColumns()): 0;
101
101
'onclick ' ,
102
102
/* @noEscape */ $ block ->getJsObjectName () . '.setPage( \'' .
103
103
/* @noEscape */ ($ _curPage - 1 ) . '\');event.preventDefault(); ' ,
104
- 'button.action-previous '
104
+ 'div# ' . $ block ->escapeJs ($ block ->getId ()) .
105
+ ' .admin__data-grid-pager button.action-previous:not(.disabled) '
105
106
) ?>
106
107
<?php else : ?>
107
108
<button type="button" class="action-previous disabled">
@@ -137,7 +138,8 @@ $numColumns = $block->getColumns() !== null ? count($block->getColumns()): 0;
137
138
'onclick ' ,
138
139
/* @noEscape */ $ block ->getJsObjectName () . '.setPage( \'' .
139
140
/* @noEscape */ ($ _curPage + 1 ) . '\');event.preventDefault(); ' ,
140
- 'button.action-next '
141
+ 'div# ' . $ block ->escapeJs ($ block ->getId ()) .
142
+ ' .admin__data-grid-pager button.action-next:not(.disabled) '
141
143
) ?>
142
144
<?php else : ?>
143
145
<button type="button" class="action-next disabled">
Original file line number Diff line number Diff line change @@ -116,7 +116,8 @@ $numColumns = count($block->getColumns());
116
116
'onclick ' ,
117
117
/* @noEscape */ $ block ->getJsObjectName () . '.setPage( \'' .
118
118
/* @noEscape */ ($ _curPage - 1 ) . '\');event.preventDefault(); ' ,
119
- '.admin__data-grid-pager button.action-previous '
119
+ 'div# ' . $ block ->escapeJs ($ block ->getId ()) .
120
+ ' .admin__data-grid-pager button.action-previous:not(.disabled) '
120
121
) ?>
121
122
<?php else : ?>
122
123
<button type="button" class="action-previous disabled">
@@ -150,7 +151,8 @@ $numColumns = count($block->getColumns());
150
151
'onclick ' ,
151
152
/* @noEscape */ $ block ->getJsObjectName () . '.setPage( \'' .
152
153
/* @noEscape */ ($ _curPage + 1 ) . '\');event.preventDefault(); ' ,
153
- '.admin__data-grid-pager button.action-next '
154
+ 'div# ' . $ block ->escapeJs ($ block ->getId ()) .
155
+ ' .admin__data-grid-pager button.action-next:not(.disabled) '
154
156
) ?>
155
157
<?php else : ?>
156
158
<button type="button" class="action-next disabled">
You can’t perform that action at this time.
0 commit comments