git @ Cat's Eye Technologies Wagon / feb5f33
Fix the initially selected option, make "launcher" generic. Chris Pressey 3 years ago
2 changed file(s) with 7 addition(s) and 3 deletion(s). Raw diff Collapse all Expand all
3939 var select = makeSelect(controlPanel, "example program:", examplePrograms, function(option) {
4040 document.getElementById('prog').value = option.contents;
4141 });
42 selectOptionByText(select, "reverse0.pail");
42 selectOptionByText(select, config.initialOption);
4343 }
44
45 launch({ container: document.getElementById('installation') });
1313 <script src="../eg/examplePrograms.jsonp.js"></script>
1414 <script src="wagon-hastec-launcher.js"></script>
1515 <script src="wagon.js"></script>
16 <script>
17 launch({
18 container: document.getElementById('installation'),
19 initialOption: "reverse0.wagon"
20 });
21 </script>
1622 </body>