Skip to content

Commit

Permalink
fix(edit): Edit events were being attached in gridCell directive even…
Browse files Browse the repository at this point in the history
… if edit was not enabled for column.
  • Loading branch information
swalters committed Jun 11, 2015
1 parent 38982d9 commit 13ab094
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions src/features/edit/js/gridEdit.js
Original file line number Diff line number Diff line change
Expand Up @@ -472,6 +472,11 @@
var cancelTouchstartTimeout;

var editCellScope;

if (!$scope.col.colDef.enableCellEdit) {
return;
}

var cellNavNavigateDereg = function() {};

// Bind to keydown events in the render container
Expand Down

0 comments on commit 13ab094

Please sign in to comment.