소스 검색

Debugging as in simpletest

Eager Beaver 5 년 전
부모
커밋
6854ab6af0
1개의 변경된 파일4개의 추가작업 그리고 0개의 파일을 삭제
  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>