Working cors URL update

This commit is contained in:
robbt 2020-05-12 13:20:46 -04:00
parent 7ee9a220af
commit f9c009a1be
4 changed files with 29 additions and 42 deletions

View file

@ -87,6 +87,7 @@ function formSlide(dir) {
steps = parseInt(stepCount.html());
stepCount.html((dir == "next") ? (steps + 1) : (steps - 1));
hideRMQForm();
hideCORSForm();
}
/**
@ -112,6 +113,15 @@ function hideRMQForm() {
$("#advCaret").removeClass("caret-up");
}
/**
* Hide the RMQ form when the slider is called to avoid showing
* scrollbars on slider panels that fit vertically
*/
function hideCORSForm() {
$("#corsFormBody").slideUp(500);
$("#corsCaret").removeClass("caret-up");
}
function submitForm(e, obj) {
resetFeedback();
e.preventDefault();