|
@@ -29,13 +29,13 @@ Loading
|
|
|
|
|
|
|
|
|
|
window.onload = init();
|
|
window.onload = init();
|
|
-LABKEY.requiresScript("/tecant/scripts/tecant/generateTable.js", function() {
|
|
|
|
- // Called back when all the scripts are loaded onto the page
|
|
|
|
- alert("Ready to go!");
|
|
|
|
- });
|
|
|
|
-
|
|
|
|
//var generateTable=require("tecant/generateTable.js");
|
|
//var generateTable=require("tecant/generateTable.js");
|
|
|
|
+
|
|
function init(){
|
|
function init(){
|
|
|
|
+ LABKEY.requiresScript("/tecant/scripts/tecant/generateTable.js", function() {
|
|
|
|
+ // Called back when all the scripts are loaded onto the page
|
|
|
|
+ document.getElementById('formStatus').value+="\n Adding scripts";
|
|
|
|
+ });
|
|
generateTable("existingCondition","smokingHabitsDiv",true);
|
|
generateTable("existingCondition","smokingHabitsDiv",true);
|
|
}
|
|
}
|
|
|
|
|