Skip to content

Commit 5934b23

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

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

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

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -57,8 +57,8 @@ define([
5757
/**
5858
* Update position for element after position from another page is entered
5959
*
60-
* @param data
61-
* @param event
60+
* @param {Object} data
61+
* @param {Object} event
6262
*/
6363
updateGridPosition: function (data, event) {
6464
var inputValue = parseInt(event.target.value, 10),
@@ -102,8 +102,8 @@ define([
102102
/**
103103
* Get updated record index
104104
*
105-
* @param recordData
106-
* @param recordId
105+
* @param {Array} recordData
106+
* @param {Number} recordId
107107
* @return {number}
108108
*/
109109
getUpdatedRecordIndex: function (recordData, recordId) {
@@ -114,7 +114,7 @@ define([
114114

115115
/**
116116
*
117-
* @param recordData to reprocess
117+
* @param {Array} recordData to reprocess
118118
*/
119119
reloadGridData: function (recordData) {
120120
this.recordData(recordData.sort(function (a, b) {
@@ -127,7 +127,7 @@ define([
127127
/**
128128
* Event handler for "Send to bottom" button
129129
*
130-
* @param positionObj
130+
* @param {Object} positionObj
131131
* @return {boolean}
132132
*/
133133
sendToBottom: function (positionObj) {
@@ -151,7 +151,7 @@ define([
151151
/**
152152
* Event handler for "Send to top" button
153153
*
154-
* @param positionObj
154+
* @param {Object} positionObj
155155
* @returns {boolean}
156156
*/
157157
sendToTop: function (positionObj) {
@@ -176,7 +176,7 @@ define([
176176
/**
177177
* Get element from grid for update
178178
*
179-
* @param object
179+
* @param {Object} object
180180
* @return {*}
181181
*/
182182
getObjectToUpdate: function (object) {
@@ -188,7 +188,7 @@ define([
188188
/**
189189
* Value function for position input
190190
*
191-
* @param data
191+
* @param {Object} data
192192
* @return {number}
193193
*/
194194
getCalculatedPosition: function (data) {

0 commit comments

Comments
 (0)