/*
This file gives functions to the CIF setup page.
*/

var lineupForm = "https://cdn.rawgit.com/ginshmastc/Volleyball-Bookkeeper/master/HTML/Lineups6p1l.html";


function lineups()
{
    var saved = [];
/*
    saved[0] = document.getElementById('teamA').value + "";
    saved[1] = document.getElementById('teamB').value + "";
    saved[2] = document.getElementById('sets').value + "";
    saved[3] = document.getElementById('playTo').value + "";
    saved[4] = document.getElementById('cap').value + "";
*/
saved[0] = "a";
    saved[1] = "b";
    saved[2] = "c";
    saved[3] = "d";
    saved[4] = "e";
    if(Android != null)
    {
        Android.test("test message");
        Android.test(saved[0]);
        Android.addData(saved);
        Android.loadNextForm(lineupForm);
    }

}


@@ -207,20 +207,16 @@
  = %5B%5D;%0D%0A
-/*%0D%0A
     save
@@ -514,215 +514,40 @@
 %22;%0D%0A
-*/%0D%0Asaved%5B0%5D = %22a%22;%0D%0A    saved%5B1%5D = %22b%22;%0D%0A    saved%5B2%5D = %22c%22;%0D%0A    saved%5B3%5D = %22d%22;%0D%0A    saved%5B4%5D = %22e%22;%0D%0A    if(Android != null)%0D%0A    %7B%0D%0A        Android.test(%22test message%22);%0D%0A        Android.test(saved%5B0%5D);
+%0D%0A    if(Android != null)%0D%0A    %7B
 %0D%0A  
@@ -627,15 +627,13 @@
 %0A    %7D%0D%0A
-%0D%0A
 %7D%0D%0A%0D%0A

Update CIF_Setup1.2.js