Commit cc1e354d by Takatoshi Miura

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

parent 63be3aff
...@@ -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