Skip to content

Commit

Permalink
Merge pull request #438 from dtcenter/issue_428_roc
Browse files Browse the repository at this point in the history
fixed loading issue for eclv host, rely and roc plots #428
  • Loading branch information
TatianaBurek authored Nov 11, 2022
2 parents dce5dd2 + fa1b745 commit e53f8f4
Show file tree
Hide file tree
Showing 6 changed files with 17 additions and 13 deletions.
4 changes: 4 additions & 0 deletions webapp/metviewer/js/metviewer_common.js
Original file line number Diff line number Diff line change
Expand Up @@ -6061,6 +6061,7 @@ function loadXMLEclv() {

}
} else {
series_var_y1_indexes = [];
series_var_val = $("#series_var_y1_1").first().val();
updateSeriesVarValHist(1, series_var_val);
}
Expand Down Expand Up @@ -6162,6 +6163,7 @@ function loadXMLRoc() {

}
} else {
series_var_y1_indexes = [];
series_var_val = $("#series_var_y1_1").first().val();
updateSeriesVarValHist(1, []);
}
Expand Down Expand Up @@ -6253,6 +6255,7 @@ function loadXMLHist() {

}
} else {
series_var_y1_indexes = [];
series_var_val = $("#series_var_1" + "_1").first().val();
updateSeriesVarValHist(1, series_var_val);
}
Expand Down Expand Up @@ -6304,6 +6307,7 @@ function loadXMLRely() {
}
} else {
//series_var_val = $("#series_var_y1_1").first().val();
series_var_y1_indexes = [];
updateSeriesVarValHist(1, []);
}

Expand Down
16 changes: 8 additions & 8 deletions webapp/metviewer/js/metviewer_common.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion webapp/metviewer/plotJSP/eclv.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
$('#fade').css("display", "none");
}
});
series_var_y1_indexes = [];
$('.help-button').button({
icons: {
Expand Down Expand Up @@ -278,6 +277,7 @@
}
initXML = null;
} else {
series_var_y1_indexes = [];
updateSeriesVarValHist(1, []);
updateSeriesHist();
}
Expand Down
3 changes: 1 addition & 2 deletions webapp/metviewer/plotJSP/hist.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
$('#fade').css("display", "none");
}
});
series_var_y1_indexes = [];
$("#plot_data").multiselect({
multiple: false,
Expand Down Expand Up @@ -240,7 +239,7 @@
}
initXML = null;
} else {
series_var_y1_indexes = [];
updateSeriesVarValHist(1, []);
changeFixedVarHist('rhist');
updateFixedVarValHist(1, []);
Expand Down
3 changes: 2 additions & 1 deletion webapp/metviewer/plotJSP/rely.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
$('#fade').css("display", "none");
}
});
series_var_y1_indexes = [];
$('.help-button').button({
icons: {
Expand Down Expand Up @@ -241,6 +241,7 @@
}
initXML = null;
} else {
series_var_y1_indexes = [];
updateSeriesVarValHist(1, []);
updateSeriesHist();
}
Expand Down
2 changes: 1 addition & 1 deletion webapp/metviewer/plotJSP/roc.jsp
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,6 @@
$('#fade').css("display", "none");
}
});
series_var_y1_indexes = [];
$('.help-button').button({
icons: {
Expand Down Expand Up @@ -248,6 +247,7 @@
}
initXML = null;
} else {
series_var_y1_indexes = [];
updateSeriesVarValHist(1, []);
updateSeriesHist();
$("input[name=roc_type][value=pct]").prop('checked', true);
Expand Down

0 comments on commit e53f8f4

Please sign in to comment.