Skip to content

Commit

Permalink
Add log msg
Browse files Browse the repository at this point in the history
  • Loading branch information
dbianco committed May 26, 2021
1 parent aa7ba0b commit 7b3f861
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions app/views/surveys/component/disable-fields.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
console.log("Wait for onload");
window.onload =
function myFunction() {
console.log("Disabling fields");
var inputs = document.getElementsByTagName("input");
for (var i = 0; i < inputs.length; i++) {
inputs[i].disabled = true;
Expand Down

0 comments on commit 7b3f861

Please sign in to comment.