Browse Source

Debugging as in simpletest

Eager Beaver 5 years ago
parent
commit
6854ab6af0
1 changed files with 4 additions and 0 deletions
  1. 4 0
      views/smokingHabits.html

+ 4 - 0
views/smokingHabits.html

@@ -38,6 +38,10 @@ function init(){
     //    });
     //generateTable("existingCondition","smokingHabitsDiv",true);
     document.getElementById('formStatus').value+="\n Adding scripts";
+
+    if(LABKEY.getModuleContext('tecant') === null)
+        document.getElementById('formStatus').value+="\n Module not loaded";
+
 }
 
 </script>