You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
varorigDocURL=document.URL;// capture this ASAP before TogetherJS munges the URL
81
83
82
84
vartutorWaitText='Please wait for the next available tutor.';
83
-
varinformedConsentText='<br/>During the tutoring session, chat logs and code may be recorded and published for<br/>educational purposes. Please do not reveal any private or confidential information.';
85
+
varinformedConsentText='<p/>During shared sessions, chat logs and code may be recorded and published for<br/>educational purposes. Please do not reveal any private or confidential information.';
84
86
85
87
// nasty globals
86
88
varupdateOutputSignalFromRemote=false;
@@ -132,20 +134,29 @@ var TogetherJSConfig_getUserName = function () {
132
134
}
133
135
}
134
136
135
-
// temporary stent:
137
+
138
+
functiongetTutor(){
139
+
manualSharedSession=false;// icky global!
140
+
TogetherJS();
141
+
}
142
+
136
143
functionstartSharedSession(){
137
-
manuallySharingUrl=true;// icky global!
144
+
manualSharedSession=true;// icky global!
138
145
TogetherJS();
139
146
}
140
147
148
+
141
149
// get this app ready for TogetherJS
142
150
functioninitTogetherJS(){
143
151
if(isTutor){
144
-
$("#togetherBtn").html("TUTOR - Join live help session");
152
+
$("#getTutorBtn").html("TUTOR - Join live help session");
0 commit comments