Changeset 548 in tmcsimulator for trunk/webapps/einotebook/script/simscript.js
- Timestamp:
- 12/25/2019 09:44:50 AM (6 years ago)
- File:
-
- 1 edited
-
trunk/webapps/einotebook/script/simscript.js (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/webapps/einotebook/script/simscript.js
r468 r548 70 70 } 71 71 72 // Add a submit button to the very bottom 73 html += "<button style=\"float: right\" onclick=\"collectRatings();\">Submit Ratings</button>" 72 74 // display events in iframe 73 75 getDocumentFromFrame('view').body.innerHTML = html; … … 76 78 resizeIframe(); 77 79 window.onresize = resizeIframe; 78 // This line is causing an error79 //window.frames['view'].setEvents(Script.events);80 80 // Pass the events to the scroll frame window 81 document.getElementById("view").contentWindow.setEvents(Script.events); 82 81 83 Script.events.win.scrollTo(0, readCookie('scriptScrollY')); 82 84
Note: See TracChangeset
for help on using the changeset viewer.
