Index: lams_tool_daco/web/includes/javascript/dacoCommon.js =================================================================== diff -u -rb31ac55045b51d2098eb4b66772e3d6e2a5a89b6 -r69c270a1166f3eee13a93eda2c1d5f21024471f3 --- lams_tool_daco/web/includes/javascript/dacoCommon.js (.../dacoCommon.js) (revision b31ac55045b51d2098eb4b66772e3d6e2a5a89b6) +++ lams_tool_daco/web/includes/javascript/dacoCommon.js (.../dacoCommon.js) (revision 69c270a1166f3eee13a93eda2c1d5f21024471f3) @@ -1,4 +1,3 @@ - // Finds a corresponding image and shows it function showBusy(targetDiv){ if($(targetDiv+"_Busy") != null){ @@ -20,13 +19,13 @@ elem.name=name; arr[arr.length]=elem; } + function checkCheckbox(checkboxName){ var checkbox = document.getElementById(checkboxName); checkbox.checked=true; } function resizeHorizontalRecordListFrame(elementIdPrefix,questionListLength){ - var horizontalRecordListFrame = document.getElementById(elementIdPrefix+'horizontalRecordListFrame'); var doc = horizontalRecordListFrame.contentDocument? horizontalRecordListFrame.contentDocument : horizontalRecordListFrame.contentWindow.document; var body = doc.body; @@ -35,4 +34,3 @@ html.clientHeight, html.scrollHeight, html.offsetHeight ); horizontalRecordListFrame.style.height = height + 60 + "px"; } -