Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
M
morpheus.js
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Daria Zenkova
morpheus.js
Commits
18dc2a99
Commit
18dc2a99
authored
Apr 08, 2016
by
joshua-gould
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
added closeable option
parent
235d5d8c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
src/ui/heat_map.js
src/ui/heat_map.js
+5
-1
No files found.
src/ui/heat_map.js
View file @
18dc2a99
...
...
@@ -198,6 +198,10 @@ morpheus.HeatMap = function(options) {
keyboard
:
true
,
inlineTooltip
:
true
,
$loadingImage
:
$
(
'
<div style="overflow:hidden;text-align:center;"><i class="fa fa-spinner fa-spin fa-3x"></i><span style="padding-left:4px;vertical-align:middle;font-weight:bold;">Loading...</span></div>
'
),
/**
* 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
:
t
ru
e
,
closeable
:
t
his
.
options
.
closeabl
e
,
rename
:
true
,
title
:
this
.
options
.
name
,
object
:
this
,
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment