Adding back scripts in /docs
This commit is contained in:
parent
bcf938ca7e
commit
6540a34a9b
26 changed files with 336 additions and 94 deletions
|
@ -87,6 +87,7 @@ function formSlide(dir) {
|
|||
steps = parseInt(stepCount.html());
|
||||
stepCount.html((dir == "next") ? (steps + 1) : (steps - 1));
|
||||
hideRMQForm();
|
||||
hideCORSForm();
|
||||
}
|
||||
|
||||
/**
|
||||
|
@ -112,11 +113,21 @@ 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();
|
||||
var d = $(e.target).serializeArray();
|
||||
addOverlay();
|
||||
$(".viewport").scrollTop(0);
|
||||
// Append .promise().done() rather than using a
|
||||
// callback to avoid call duplication
|
||||
$("#overlay, #loadingImage").fadeIn(500).promise().done(function() {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue