Commit 897d16c5 by Takatoshi Miura

Merge branch 'communication/#43211_new-collaboration' into 'develop'

#43211_new-collaboration_新しい協業に切り替わらないバグを修正

See merge request !186
parents 3d4d3996 cc1e354d
...@@ -381,7 +381,6 @@ document.addEventListener("DOMContentLoaded", function () { ...@@ -381,7 +381,6 @@ document.addEventListener("DOMContentLoaded", function () {
coview_api.addEventListener("allbye", function () { coview_api.addEventListener("allbye", function () {
requestCollaborationFinish(); requestCollaborationFinish();
alert(getLocalizedString("inform_exit_host_collaboration"));
var isDocument = false; var isDocument = false;
if (joinCollaborationType == COLLABORATION_TYPE.DOCUMENT) { if (joinCollaborationType == COLLABORATION_TYPE.DOCUMENT) {
isDocument = true; isDocument = true;
...@@ -406,6 +405,11 @@ document.addEventListener("DOMContentLoaded", function () { ...@@ -406,6 +405,11 @@ document.addEventListener("DOMContentLoaded", function () {
} }
} }
console.log("=============> HOST BYE : share hostbye"); console.log("=============> HOST BYE : share hostbye");
if (CHAT_UTIL.isIOS()) {
webkit.messageHandlers.showExitHostAlert.postMessage({});
return;
}
alert(getLocalizedString("inform_exit_host_collaboration"));
$("#loadingIndicator").removeClass("full_active"); $("#loadingIndicator").removeClass("full_active");
}); });
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment