Commit 1ecf03bb1f28f5ef2f6232785c0b3fe903cb160c

Authored by Benjamin Renard
1 parent 429f876c

Fix

Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
js/app/views/PlotComponents/PlotTabPanel.js
... ... @@ -84,6 +84,9 @@ Ext.define('amdaPlotComp.PlotTabPanel', {
84 84 this.updatePlotTabs();
85 85 },
86 86 afterrender: function(tab, e0pts) {
  87 + if (!tab.tab.el) {
  88 + return;
  89 + }
87 90 tab.tab.el.on('contextmenu', function(e, t, eOpts) {
88 91 var menu = new Ext.menu.Menu({
89 92 items: [
... ...