Commit 676b1875 authored by Jake Mylet's avatar Jake Mylet

Adding skeleton files for the various files of documents folder docs. Modified...

Adding skeleton files for the various files of documents folder docs. Modified the Login js file to contain more inline comments and removed un-neccessary code. Removed un-neccessary code from GoToScan js file as well.
parent 4b0bc404
## Home
### JavaScript Documentation
\ No newline at end of file
### JavaScript Documentation
See the [JavaScript Index](/docs/index/) for details.
\ No newline at end of file
(function() {
// TODO: Believe this is what the continue button does
onContinue();
})();
\ No newline at end of file
(function() {
var user = document.getElementById("UserID"); // User ID input
var pword = document.getElementById("Password"); // Password input
var type = document.getElementsByName("ScanType"); // Scan or Identify missing Radiobuttons
var inventory = document.getElementById("InventoryRadioBtn");
var missing = document.getElementById("IDMissingRadioBtn");
var inventory = document.getElementById("InventoryRadioBtn"); // Perform an inventory scann
user.value = "circ_admin";
pword.value = "silver";
GetLocation();
// Set user id and password equal to the respective variable declared prior to function call
user.value = userID;
pword.value = userPassword;
GetLocation(); // With the user and password, the page can retrieve possible library locations
var loc = document.getElementById("LocationSelCtl"); // Location select
var loc = document.getElementById("LocationSelCtl"); // Get location select and valid values
loc.selectedIndex = 2; // Make sure this is the Lewisburg branch
// Make sure this is the Lewisburg branch
loc.selectedIndex = 2;
loc.value = loc.options[2].value;
inventory.checked = true;
inventory.checked = true; // Perform an inventory
doLogin();
doLogin(); // Login to RTI system
})();
\ No newline at end of file
# Error Page JavaScript
The JS functions specified on this page are run only on the Error Page.
\ No newline at end of file
# Global Scope JavaScript
The JS functions specified on this page is run on every page.
\ No newline at end of file
# Login Page JavaScript
The JS function specified on this page is run only on the Login Page.
\ No newline at end of file
# Scan Page JavaScript
The JS functions specified on this page are run only on the Scan Page.
\ No newline at end of file
# Setup Page JavaScript
The JS functions specified on this page are run only on the Setup Page.
\ No newline at end of file
# JavaScript Index
This index provides an overview of the different JavaScript functions included in the application. These functions are separated into that are included in this application, which are listed below broken down based upon scope of operation (i.e. page file is utilized on).
## [Global](/GlobalJs.md/)
##### WhatPage.js
File contains function to determine current page, or location in scan process, of the current inventory session.
## [Login Page](/LoginJS.md/)
#### Login.js
## [Setup Page](/SetupJS.md/)
#### GetAvailableCollections.js
#### GetSelectedCollections.js
#### AddCollection.js
#### RemoveCollection.js
#### SaveSetup.js
## [Scan Page](/ScanJS.md/)
#### GetScanned.js
#### ScanBarcode.js
#### FinishScan.js
## [Error Page](/ErrorJS.md/)
#### GetError.js
#### GoToScan.js
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment