Skip to content

Commit 5c39063

Browse files
committed
do NOT sync survey answers with partner
1 parent 1ce19e1 commit 5c39063

3 files changed

Lines changed: 11 additions & 9 deletions

File tree

‎v3/css/opt-frontend.css‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ button.surveyBtn {
102102

103103
#syncBtn {
104104
font-size: 8pt;
105-
margin-top: 10px;
105+
margin-left: 10px;
106106
}
107107

108108
/* necessary for CodeMirror error line highlighting to work! */

‎v3/js/composingprograms.js‎

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,18 +43,18 @@ var originFrontendJsFile = 'composingprograms.js';
4343

4444

4545
var postSessionSurvey = '\n\
46-
<div style="border: 1px solid #C2382F; padding: 5px; margin-top: 10px; line-height: 175%;">\n\
46+
<div id="postSessionSurveyDiv" style="border: 1px solid #C2382F; padding: 5px; margin-top: 5px; line-height: 175%;">\n\
4747
<span style="font-size: 8pt; color: #666;">Support our research by answering these questions before you leave:</span><br/>\n\
4848
How useful was this particular session? (click star to rate)\n\
49-
<span class="star-rating">\n\
50-
<input type="radio" name="rating" value="1"/><i></i>\n\
51-
<input type="radio" name="rating" value="2"/><i></i>\n\
52-
<input type="radio" name="rating" value="3"/><i></i>\n\
53-
<input type="radio" name="rating" value="4"/><i></i>\n\
54-
<input type="radio" name="rating" value="5"/><i></i>\n\
49+
<span class="star-rating togetherjsIgnore">\n\
50+
<input type="radio" class="togetherjsIgnore" name="rating" value="1"/><i></i>\n\
51+
<input type="radio" class="togetherjsIgnore" name="rating" value="2"/><i></i>\n\
52+
<input type="radio" class="togetherjsIgnore" name="rating" value="3"/><i></i>\n\
53+
<input type="radio" class="togetherjsIgnore" name="rating" value="4"/><i></i>\n\
54+
<input type="radio" class="togetherjsIgnore" name="rating" value="5"/><i></i>\n\
5555
</span>\n\
5656
<br/>\
57-
What did you just learn? <input type="text" id="what-learned" class="surveyQ" size=60 maxlength=140/>\n\
57+
What did you just learn? <input type="text" id="what-learned" class="surveyQ togetherjsIgnore" size=60 maxlength=140/>\n\
5858
<button id="submitSessionSurveyBtn" type="button" style="font-size: 8pt;">Submit</button>\n\
5959
</div>'
6060

‎v3/js/opt-frontend-common.js‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -101,6 +101,8 @@ var pendingCodeOutputScrollTop = null;
101101

102102
var codeMirrorScroller = '#codeInputPane .CodeMirror-scroll';
103103

104+
TogetherJSConfig_ignoreForms = ['.togetherjsIgnore']; // do NOT sync these elements
105+
104106

105107
function requestSync() {
106108
if (TogetherJS.running) {

0 commit comments

Comments
 (0)