Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
LOFAR
Manage
Activity
Members
Labels
Plan
Issues
Wiki
Jira issues
Open Jira
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Locked files
Deploy
Releases
Package registry
Container Registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Code review analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
RadioObservatory
LOFAR
Merge requests
!1267
Tmss code cleanup part 4
Code
Review changes
Check out branch
Download
Patches
Plain diff
Merged
Tmss code cleanup part 4
TMSS-Code-Cleanup-Part-4-Front-End-Only
into
master
Overview
0
Commits
8
Pipelines
0
Changes
17
Merged
Reinder Kraaij
requested to merge
TMSS-Code-Cleanup-Part-4-Front-End-Only
into
master
1 year ago
Overview
0
Commits
8
Pipelines
0
Changes
17
Expand
This Cleans up the code a bit and adjusts some unit tests
0
0
Merge request reports
Compare
master
master (base)
and
latest version
latest version
20a6a0d6
8 commits,
1 year ago
17 files
+
572
−
3056
Inline
Compare changes
Side-by-side
Inline
Show whitespace changes
Show one file at a time
Files
17
Search (e.g. *.vue) (Ctrl+P)
SAS/TMSS/frontend/tmss_webapp/src/components/JSONEditor/JEditor.js
+
2
−
2
Options
@@ -1330,12 +1330,12 @@ function getFrequencyFromSubbandOutput(subbandArray,bandpassFilter) {
}
selectedStationsContent
+=
'
</div>
'
;
// Remove existing child selected station label and div
var
stationListParentDiv
=
document
.
getElementsByName
(
path
)[
0
].
parentElement
;
let
stationListParentDiv
=
document
.
getElementsByName
(
path
)[
0
].
parentElement
;
while
(
stationListParentDiv
.
childElementCount
>
2
)
{
stationListParentDiv
.
removeChild
(
stationListParentDiv
.
lastChild
);
}
// Append new children to display selected stations
var
selectedStationsDiv
=
document
.
createElement
(
'
div
'
);
let
selectedStationsDiv
=
document
.
createElement
(
'
div
'
);
stationListParentDiv
.
appendChild
(
selectedStationsDiv
);
selectedStationsDiv
.
outerHTML
=
selectedStationsContent
;
}
Loading