Skip to content

Commit e5e7db1

Browse files
MAGETWO-91633: Grouped Products: Associated Products Can't Be Sorted Between Pages
- Fix static tests
1 parent c7a140e commit e5e7db1

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

app/code/Magento/GroupedProduct/view/adminhtml/web/js/grouped-product-grid.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -128,7 +128,7 @@ define([
128128
* Event handler for "Send to bottom" button
129129
*
130130
* @param {Object} positionObj
131-
* @return {boolean}
131+
* @return {Boolean}
132132
*/
133133
sendToBottom: function (positionObj) {
134134

@@ -152,7 +152,7 @@ define([
152152
* Event handler for "Send to top" button
153153
*
154154
* @param {Object} positionObj
155-
* @returns {boolean}
155+
* @return {Boolean}
156156
*/
157157
sendToTop: function (positionObj) {
158158
var objectToUpdate = this.getObjectToUpdate(positionObj),
@@ -189,7 +189,7 @@ define([
189189
* Value function for position input
190190
*
191191
* @param {Object} data
192-
* @return {number}
192+
* @return {Number}
193193
*/
194194
getCalculatedPosition: function (data) {
195195
return (~~this.currentPage() - 1) * this.pageSize + this.elems().pluck("name").indexOf(data.name);
@@ -198,7 +198,7 @@ define([
198198
/**
199199
* Return Page Boundary
200200
*
201-
* @return {number}
201+
* @return {Number}
202202
*/
203203
getDefaultPageBoundary: function () {
204204
return ~~this.currentPage() * this.pageSize - 1;
@@ -207,7 +207,7 @@ define([
207207
/**
208208
* Returns position for last element to be moved after
209209
*
210-
* @return {number}
210+
* @return {Number}
211211
*/
212212
getGlobalMaxPosition: function () {
213213
return _.max(this.recordData().map(function (r) {

0 commit comments

Comments
 (0)