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
Copy file name to clipboardExpand all lines: v5-unity/build/composingprograms.bundle.js
+17-5Lines changed: 17 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -22525,9 +22525,15 @@ var OptFrontendSharedSessions = (function (_super) {
22525
22525
data: { user_uuid: this.userUUID },
22526
22526
error: function () {
22527
22527
console.log('/getHelpQueue error');
22528
-
$("#publicHelpQueue").empty(); // avoid showing stale results
22528
+
if (_this.wantsPublicHelp) {
22529
+
$("#publicHelpQueue").html('ERROR: help server is down. If you had previously asked for help, something is wrong; stop this session and try again later.');
22530
+
}
22531
+
else {
22532
+
$("#publicHelpQueue").empty(); // avoid showing stale results
22533
+
}
22529
22534
},
22530
22535
success: function (resp) {
22536
+
var displayEmptyQueueMsg = false;
22531
22537
if (resp && resp.length > 0) {
22532
22538
$("#publicHelpQueue").empty();
22533
22539
var myShareId = exports.TogetherJS.shareId();
@@ -22632,13 +22638,19 @@ var OptFrontendSharedSessions = (function (_super) {
22632
22638
});
22633
22639
}
22634
22640
else {
22635
-
// ugly repetition ...
22636
-
$("#publicHelpQueue").html('Nobody is currently asking for help. Click "Get live help!" at the left to ask for help.');
22641
+
displayEmptyQueueMsg = true;
22637
22642
}
22638
22643
}
22639
22644
else {
22640
-
// ugly repetition ...
22641
-
$("#publicHelpQueue").html('Nobody is currently asking for help. Click "Get live help!" at the left to ask for help.');
22645
+
displayEmptyQueueMsg = true;
22646
+
}
22647
+
if (displayEmptyQueueMsg) {
22648
+
if (_this.wantsPublicHelp) {
22649
+
$("#publicHelpQueue").html('Nobody is currently asking for help. If you had previously asked for help, something is wrong; stop this session and try again later.');
22650
+
}
22651
+
else {
22652
+
$("#publicHelpQueue").html('Nobody is currently asking for help using the "Get live help!" button.');
Copy file name to clipboardExpand all lines: v5-unity/build/csc108h.bundle.js
+17-5Lines changed: 17 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -22525,9 +22525,15 @@ var OptFrontendSharedSessions = (function (_super) {
22525
22525
data: { user_uuid: this.userUUID },
22526
22526
error: function () {
22527
22527
console.log('/getHelpQueue error');
22528
-
$("#publicHelpQueue").empty(); // avoid showing stale results
22528
+
if (_this.wantsPublicHelp) {
22529
+
$("#publicHelpQueue").html('ERROR: help server is down. If you had previously asked for help, something is wrong; stop this session and try again later.');
22530
+
}
22531
+
else {
22532
+
$("#publicHelpQueue").empty(); // avoid showing stale results
22533
+
}
22529
22534
},
22530
22535
success: function (resp) {
22536
+
var displayEmptyQueueMsg = false;
22531
22537
if (resp && resp.length > 0) {
22532
22538
$("#publicHelpQueue").empty();
22533
22539
var myShareId = exports.TogetherJS.shareId();
@@ -22632,13 +22638,19 @@ var OptFrontendSharedSessions = (function (_super) {
22632
22638
});
22633
22639
}
22634
22640
else {
22635
-
// ugly repetition ...
22636
-
$("#publicHelpQueue").html('Nobody is currently asking for help. Click "Get live help!" at the left to ask for help.');
22641
+
displayEmptyQueueMsg = true;
22637
22642
}
22638
22643
}
22639
22644
else {
22640
-
// ugly repetition ...
22641
-
$("#publicHelpQueue").html('Nobody is currently asking for help. Click "Get live help!" at the left to ask for help.');
22645
+
displayEmptyQueueMsg = true;
22646
+
}
22647
+
if (displayEmptyQueueMsg) {
22648
+
if (_this.wantsPublicHelp) {
22649
+
$("#publicHelpQueue").html('Nobody is currently asking for help. If you had previously asked for help, something is wrong; stop this session and try again later.');
22650
+
}
22651
+
else {
22652
+
$("#publicHelpQueue").html('Nobody is currently asking for help using the "Get live help!" button.');
Copy file name to clipboardExpand all lines: v5-unity/build/opt-live.bundle.js
+17-5Lines changed: 17 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -22525,9 +22525,15 @@ var OptFrontendSharedSessions = (function (_super) {
22525
22525
data: { user_uuid: this.userUUID },
22526
22526
error: function () {
22527
22527
console.log('/getHelpQueue error');
22528
-
$("#publicHelpQueue").empty(); // avoid showing stale results
22528
+
if (_this.wantsPublicHelp) {
22529
+
$("#publicHelpQueue").html('ERROR: help server is down. If you had previously asked for help, something is wrong; stop this session and try again later.');
22530
+
}
22531
+
else {
22532
+
$("#publicHelpQueue").empty(); // avoid showing stale results
22533
+
}
22529
22534
},
22530
22535
success: function (resp) {
22536
+
var displayEmptyQueueMsg = false;
22531
22537
if (resp && resp.length > 0) {
22532
22538
$("#publicHelpQueue").empty();
22533
22539
var myShareId = exports.TogetherJS.shareId();
@@ -22632,13 +22638,19 @@ var OptFrontendSharedSessions = (function (_super) {
22632
22638
});
22633
22639
}
22634
22640
else {
22635
-
// ugly repetition ...
22636
-
$("#publicHelpQueue").html('Nobody is currently asking for help. Click "Get live help!" at the left to ask for help.');
22641
+
displayEmptyQueueMsg = true;
22637
22642
}
22638
22643
}
22639
22644
else {
22640
-
// ugly repetition ...
22641
-
$("#publicHelpQueue").html('Nobody is currently asking for help. Click "Get live help!" at the left to ask for help.');
22645
+
displayEmptyQueueMsg = true;
22646
+
}
22647
+
if (displayEmptyQueueMsg) {
22648
+
if (_this.wantsPublicHelp) {
22649
+
$("#publicHelpQueue").html('Nobody is currently asking for help. If you had previously asked for help, something is wrong; stop this session and try again later.');
22650
+
}
22651
+
else {
22652
+
$("#publicHelpQueue").html('Nobody is currently asking for help using the "Get live help!" button.');
Copy file name to clipboardExpand all lines: v5-unity/build/visualize.bundle.js
+17-5Lines changed: 17 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -22525,9 +22525,15 @@ var OptFrontendSharedSessions = (function (_super) {
22525
22525
data: { user_uuid: this.userUUID },
22526
22526
error: function () {
22527
22527
console.log('/getHelpQueue error');
22528
-
$("#publicHelpQueue").empty(); // avoid showing stale results
22528
+
if (_this.wantsPublicHelp) {
22529
+
$("#publicHelpQueue").html('ERROR: help server is down. If you had previously asked for help, something is wrong; stop this session and try again later.');
22530
+
}
22531
+
else {
22532
+
$("#publicHelpQueue").empty(); // avoid showing stale results
22533
+
}
22529
22534
},
22530
22535
success: function (resp) {
22536
+
var displayEmptyQueueMsg = false;
22531
22537
if (resp && resp.length > 0) {
22532
22538
$("#publicHelpQueue").empty();
22533
22539
var myShareId = exports.TogetherJS.shareId();
@@ -22632,13 +22638,19 @@ var OptFrontendSharedSessions = (function (_super) {
22632
22638
});
22633
22639
}
22634
22640
else {
22635
-
// ugly repetition ...
22636
-
$("#publicHelpQueue").html('Nobody is currently asking for help. Click "Get live help!" at the left to ask for help.');
22641
+
displayEmptyQueueMsg = true;
22637
22642
}
22638
22643
}
22639
22644
else {
22640
-
// ugly repetition ...
22641
-
$("#publicHelpQueue").html('Nobody is currently asking for help. Click "Get live help!" at the left to ask for help.');
22645
+
displayEmptyQueueMsg = true;
22646
+
}
22647
+
if (displayEmptyQueueMsg) {
22648
+
if (_this.wantsPublicHelp) {
22649
+
$("#publicHelpQueue").html('Nobody is currently asking for help. If you had previously asked for help, something is wrong; stop this session and try again later.');
22650
+
}
22651
+
else {
22652
+
$("#publicHelpQueue").html('Nobody is currently asking for help using the "Get live help!" button.');
0 commit comments