Skip to content

Commit 364b89a

Browse files
Portugal, MarceloPortugal, Marcelo
authored andcommitted
v4.2.2
1 parent ff9c64d commit 364b89a

File tree

6 files changed

+16
-9
lines changed

6 files changed

+16
-9
lines changed

CHANGELOG.md

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,11 @@
1+
<a name="v4.2.2"></a>
2+
### v4.2.2 (2018-01-17)
3+
4+
5+
#### Bug Fixes
6+
7+
* **gridEdit:** Fixing scrollToFocus issues. ([cc8144ca](http://github.com/angular-ui/ng-grid/commit/cc8144ca8b9138dfd08fffbe8cd4382f853c76e2))
8+
19
<a name="v4.2.1"></a>
210
### v4.2.1 (2018-01-17)
311

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"data grid"
2828
],
2929
"license": "MIT",
30-
"version": "4.2.1",
30+
"version": "4.2.2",
3131
"files": [
3232
"less",
3333
"ui-grid.css",

ui-grid.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* ui-grid - v4.2.1 - 2018-01-17
2+
* ui-grid - v4.2.2 - 2018-01-17
33
* Copyright (c) 2018 ; License: MIT
44
*/
55
#ui-grid-twbs #ui-grid-twbs .form-horizontal .form-group:before,

ui-grid.js

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* ui-grid - v4.2.1 - 2018-01-17
2+
* ui-grid - v4.2.2 - 2018-01-17
33
* Copyright (c) 2018 ; License: MIT
44
*/
55

@@ -16923,7 +16923,8 @@ module.filter('px', function() {
1692316923
cellNavNavigateDereg = uiGridCtrl.grid.api.cellNav.on.navigate($scope, function (newRowCol, oldRowCol, evt) {
1692416924
if ($scope.col.colDef.enableCellEditOnFocus) {
1692516925
// Don't begin edit if the cell hasn't changed
16926-
if (newRowCol.row === $scope.row && newRowCol.col === $scope.col && evt && (evt.type === 'click' || evt.type === 'keydown')) {
16926+
if (newRowCol.row === $scope.row && newRowCol.col === $scope.col &&
16927+
(!evt || (evt && (evt.type === 'click' || evt.type === 'keydown')))) {
1692716928
$timeout(function() {
1692816929
beginEdit(evt);
1692916930
});
@@ -16933,7 +16934,6 @@ module.filter('px', function() {
1693316934
}
1693416935

1693516936
$scope.beginEditEventsWired = true;
16936-
1693716937
}
1693816938

1693916939
function touchStart(event) {
@@ -17284,7 +17284,6 @@ module.filter('px', function() {
1728417284
}
1728517285
return object;
1728617286
}
17287-
1728817287
}
1728917288
};
1729017289
}]);

ui-grid.min.css

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

ui-grid.min.js

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)