From 18dc2a99efab8272e949489a8d4a086888645982 Mon Sep 17 00:00:00 2001 From: joshua-gould Date: Fri, 8 Apr 2016 20:13:07 -0400 Subject: [PATCH] added closeable option --- src/ui/heat_map.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/ui/heat_map.js b/src/ui/heat_map.js index b228da0..561d548 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 : $('
Loading...
'), + /** + * 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, -- GitLab