Skip to content

Commit

Permalink
added check for datagrid-is not 'deleted'
Browse files Browse the repository at this point in the history
  • Loading branch information
wachterjohannes committed Apr 27, 2015
1 parent abb5f87 commit 4e41889
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion dist/husky.js
Original file line number Diff line number Diff line change
Expand Up @@ -30469,7 +30469,7 @@ define('husky_components/datagrid/decorators/table-view',[],function() {
this.sandbox.dom.stopPropagation(event);
var recordId = this.sandbox.dom.data(event.currentTarget, 'id');
this.emitRowClickedEvent(event);
if (!!recordId && !!this.table.rows[recordId]) {
if (!!recordId && !!this.table.rows && !!this.table.rows[recordId]) {
if (this.options.highlightSelected === true) {
this.uniqueHighlightRecord(recordId);
}
Expand Down
2 changes: 1 addition & 1 deletion dist/husky.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion husky_components/datagrid/decorators/table-view.js
Original file line number Diff line number Diff line change
Expand Up @@ -1203,7 +1203,7 @@ define(function() {
this.sandbox.dom.stopPropagation(event);
var recordId = this.sandbox.dom.data(event.currentTarget, 'id');
this.emitRowClickedEvent(event);
if (!!recordId && !!this.table.rows[recordId]) {
if (!!recordId && !!this.table.rows && !!this.table.rows[recordId]) {
if (this.options.highlightSelected === true) {
this.uniqueHighlightRecord(recordId);
}
Expand Down

0 comments on commit 4e41889

Please sign in to comment.