From 8f6dc783d80c3fd774318564e94ff46f970427c8 Mon Sep 17 00:00:00 2001 From: James Case Date: Fri, 23 Mar 2018 14:00:15 -0400 Subject: [PATCH] Fixes missing Plot Types due to bug in 13254. (13280) --- ooiui/static/js/partials/science/plot/PlotControls.html | 3 +++ ooiui/static/json/uiPatchNotes.json | 7 +++++++ 2 files changed, 10 insertions(+) diff --git a/ooiui/static/js/partials/science/plot/PlotControls.html b/ooiui/static/js/partials/science/plot/PlotControls.html index 065c59f7a..404ac4351 100644 --- a/ooiui/static/js/partials/science/plot/PlotControls.html +++ b/ooiui/static/js/partials/science/plot/PlotControls.html @@ -48,9 +48,12 @@ <% plotModel.get('plotTypeOptions').each(function(option){ %> <% //console.log(model.get('ref_des').indexOf('ZPLSC')); %> <% //console.log(option.get('value')); %> + <% //console.log((model.get('ref_des').indexOf('ZPLSC') > -1) && (option.get('value') == 'xy')); %> <% if ((model.get('ref_des').indexOf('ZPLSC') > -1) && (option.get('value') == 'xy')){ %> + <% }else if ((model.get('ref_des').indexOf('ZPLSC') === -1)){ %> + <% } %> <% }); %> diff --git a/ooiui/static/json/uiPatchNotes.json b/ooiui/static/json/uiPatchNotes.json index 375f0d7d4..23709a461 100644 --- a/ooiui/static/json/uiPatchNotes.json +++ b/ooiui/static/json/uiPatchNotes.json @@ -1,4 +1,11 @@ [ + { + "VersionNumber": "1.4.8.1", + "VersionDate": "2018-03-23", + "VersionDescription": [ + "Plotting: Fixes missing Plot Types due to bug in 13254. (13280)" + ] + }, { "VersionNumber": "1.4.8", "VersionDate": "2018-01-19",