diff --git a/src/ui/heat_map.js b/src/ui/heat_map.js index b228da00f28c4a17380e1cc097d2415dc846d02a..561d54839bbf7595926a698645215fe5b5e906a8 100644 --- a/src/ui/heat_map.js +++ b/src/ui/heat_map.js @@ -198,6 +198,10 @@ morpheus.HeatMap = function(options) { keyboard : true, inlineTooltip : true, $loadingImage : $('
'), + /** + * Whether this heat map tab can be closed + */ + closeable : true, toolbar : { zoom : true, tools : true, @@ -298,7 +302,7 @@ morpheus.HeatMap = function(options) { var tab = this.tabManager.add({ $el : this.$content, - closeable : true, + closeable : this.options.closeable, rename : true, title : this.options.name, object : this,