File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
app/code/Magento/Ui/view/base/web/js/grid/columns Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -44,10 +44,11 @@ define([
44
44
key ,
45
45
i ;
46
46
47
+ registry . set ( 'position_cache_valid' , true ) ;
48
+
47
49
if ( this . selectedData . length === 0 || positionCacheValid ) {
48
50
return ;
49
51
}
50
- registry . set ( 'position_cache_valid' , true ) ;
51
52
// Check selected data
52
53
for ( key in this . selectedData ) {
53
54
if ( this . selectedData . hasOwnProperty ( key ) && this . selected ( ) . indexOf ( key ) === - 1 ) {
@@ -58,7 +59,7 @@ define([
58
59
for ( i = 0 ; i < this . selected ( ) . length ; i ++ ) {
59
60
key = this . selected ( ) [ i ] ;
60
61
this . selectedData . hasOwnProperty ( key ) || this . selected . splice ( this . selected ( ) . indexOf ( key ) , 1 ) ;
61
- this . selectedData . hasOwnProperty ( key ) || ( i -- ) ;
62
+ this . selectedData . hasOwnProperty ( key ) || i -- ;
62
63
}
63
64
} ,
64
65
You can’t perform that action at this time.
0 commit comments