Skip to content

Commit 2e97bb3

Browse files
committed
fix cell click
1 parent 7db6125 commit 2e97bb3

File tree

4 files changed

+6
-6
lines changed

4 files changed

+6
-6
lines changed

dist/directive.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
* angular-rs-datagrid
33
*
4-
* Version: 1.0.68 - 2018-02-15T19:19:11.961Z
4+
* Version: 1.0.68 - 2018-02-15T20:04:41.877Z
55
* License: MIT
66
*/
77

dist/directive.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
/*!
22
* angular-rs-datagrid
33
*
4-
* Version: 1.0.68 - 2018-02-15T19:19:11.970Z
4+
* Version: 1.0.68 - 2018-02-15T20:04:41.953Z
55
* License: MIT
66
*/
77

@@ -875,8 +875,8 @@ angular.module('rs.datagrid', ['ui.utils.masks', 'ui.select'])
875875
///////////////////////////////////////////////////////////////////////////////////////////////
876876

877877
scope.clickCell = function (event, row, index) {
878-
event.stopImmediatePropagation();
879878
if (scope.config.onClickCell && angular.isFunction(scope.config.onClickCell)) {
879+
event.stopImmediatePropagation();
880880
return scope.config.onClickCell(row, index);
881881
}
882882
};

dist/directive.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.

dist/directive.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)