Skip to content

Commit

Permalink
Fix exception
Browse files Browse the repository at this point in the history
  • Loading branch information
slusarz committed Nov 19, 2013
1 parent 4e4bd9b commit 067511d
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions imp/js/compose-dimp.js
Original file line number Diff line number Diff line change
Expand Up @@ -1174,9 +1174,11 @@ var DimpCompose = {
case 'writemsg':
if (!this.disabled && elt.hasClassName('horde-popdown')) {
tmp = elt.retrieve('popdown_id');
this.knl[tmp].knl.show();
this.knl[tmp].knl.ignoreClick(e.memo);
e.memo.stop();
if (tmp && this.knl[tmp]) {
this.knl[tmp].knl.show();
this.knl[tmp].knl.ignoreClick(e.memo);
e.memo.stop();
}
}
break;

Expand Down

0 comments on commit 067511d

Please sign in to comment.