Skip to content

Commit

Permalink
Avoid event bubble when closing dynamic tab
Browse files Browse the repository at this point in the history
  • Loading branch information
janodvarko committed May 4, 2012
1 parent c398de5 commit 8bd30c2
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions content/tabs/dynamicTab.js
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,8 @@ DynamicTab.prototype = Lib.extend(BaseTab.prototype,

onCloseTab: function(event)
{
Lib.cancelEvent(event);

// Remove itself from the list of tabs.
this.tabView.removeTab(this);
}
Expand Down

0 comments on commit 8bd30c2

Please sign in to comment.