Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
clinicaltrials
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
david Chavalarias
clinicaltrials
Commits
fe8d2d37
Commit
fe8d2d37
authored
Jun 16, 2017
by
Romain Loth
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
move some initializations from main to Tina.init()
(forgotten part from last commit
2232005f
)
parent
2232005f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
19 additions
and
4 deletions
+19
-4
Tinaweb.js
tinawebJS/Tinaweb.js
+19
-4
No files found.
tinawebJS/Tinaweb.js
View file @
fe8d2d37
...
...
@@ -355,6 +355,20 @@ var TinaWebJS = function ( sigmacanvas ) {
}
}
$
(
'#tab-container'
).
easytabs
({
updateHash
:
false
,
defaultTab
:
'li#tabneigh'
});
// show any already existing panel
document
.
getElementById
(
"graph-panels"
).
style
.
display
=
"block"
// grey message in the search bar from settings
$
(
"#searchinput"
).
attr
(
'placeholder'
,
TW
.
conf
.
strSearchBar
)
;
// load optional modules
activateModules
()
;
if
(
initErrMsg
)
{
console
.
error
(
initErrMsg
)
}
...
...
@@ -811,13 +825,14 @@ var TinaWebJS = function ( sigmacanvas ) {
prevsels
:
TW
.
SystemState
().
selectionNids
}
)
// 2) clear previous selection
cancelSelection
(
false
)
// 3) show new selection + do all related effects
// 2) show new selection + do all related effects
if
(
targeted
.
length
>
0
)
{
selInst
.
MultipleSelection2
(
{
nodes
:
targeted
}
)
}
// or clear previous selection
else
{
cancelSelection
(
false
)
}
}
})
...
...
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