Commit 053fd3bb by Kim Peace

Merge branch 'develop' into debug/console_logs

parents 554beef6 9fdd2c5a
...@@ -58,7 +58,7 @@ CollaborationUI.refreshMyGroupForAddUserInCollaboration = function () { ...@@ -58,7 +58,7 @@ CollaborationUI.refreshMyGroupForAddUserInCollaboration = function () {
$("#tabMyGroupOnAddUserInCollaboration").prop("checked", true); $("#tabMyGroupOnAddUserInCollaboration").prop("checked", true);
NativeBridgeDelegate.updateContactInfo(); CollaborationUI.updateContactInfo();
CollaborationUI.appendFavoriteGroupList(); CollaborationUI.appendFavoriteGroupList();
...@@ -70,6 +70,12 @@ CollaborationUI.refreshMyGroupForAddUserInCollaboration = function () { ...@@ -70,6 +70,12 @@ CollaborationUI.refreshMyGroupForAddUserInCollaboration = function () {
Common.dismissLoadingIndicator(); Common.dismissLoadingIndicator();
}; };
CollaborationUI.updateContactInfo = async function () {
setTimeout(function () {
NativeBridgeDelegate.updateContactInfo();
}, 0);
};
CollaborationUI.appendFavoriteGroupList = function () { CollaborationUI.appendFavoriteGroupList = function () {
console.log("peacekim:: CollaborationUI.appendFavoriteGroupList"); console.log("peacekim:: CollaborationUI.appendFavoriteGroupList");
// グループの様式を読み込む // グループの様式を読み込む
...@@ -151,7 +157,9 @@ CollaborationUI.refreshAllGroupForAddUserInCollaboration = function (groupID) { ...@@ -151,7 +157,9 @@ CollaborationUI.refreshAllGroupForAddUserInCollaboration = function (groupID) {
$("#tabAllGroupOnAddUserInCollaboration").prop("checked", true); $("#tabAllGroupOnAddUserInCollaboration").prop("checked", true);
NativeBridgeDelegate.updateGroupInfo(groupID); setTimeout(function () {
NativeBridgeDelegate.updateGroupInfo(groupID);
}, 0);
//画面エリアを初期化。 //画面エリアを初期化。
$("#parentGroupBtnForAddUserInCollaboration").off(); $("#parentGroupBtnForAddUserInCollaboration").off();
......
var CollaborationUI = {}; var CollaborationUI = {};
CollaborationUI.openedNamecardUserID = undefined;
document.addEventListener("DOMContentLoaded", function () { document.addEventListener("DOMContentLoaded", function () {
console.log("peacekim:: DOMContentLoaded on collaboration js"); console.log("peacekim:: DOMContentLoaded on collaboration js");
CollaborationUI.disableScroll(); CollaborationUI.disableScroll();
...@@ -155,6 +157,8 @@ CollaborationUI.makeNameCard = function (shopMemberID) { ...@@ -155,6 +157,8 @@ CollaborationUI.makeNameCard = function (shopMemberID) {
collaborationId: globalUserInfo.shopName + "_" + nameCardInfo.loginId, collaborationId: globalUserInfo.shopName + "_" + nameCardInfo.loginId,
}); });
CollaborationUI.openedNamecardUserID = globalUserInfo.shopName + "_" + nameCardInfo.loginId;
let namecardObj = $(jQuery.parseHTML(namecardHTML)).on( let namecardObj = $(jQuery.parseHTML(namecardHTML)).on(
"click", "click",
function () {} function () {}
......
...@@ -306,7 +306,8 @@ CollaborationFeature.didReceivedJoinRoomInfoResponseMessage = function () { ...@@ -306,7 +306,8 @@ CollaborationFeature.didReceivedJoinRoomInfoResponseMessage = function () {
}; };
CoviewBridge.changeHostFromModal = function () { CoviewBridge.changeHostFromModal = function () {
const userID = $("#changeHostModal").data("bs.modal")._config.collaborationid; const userID = CollaborationUI.openedNamecardUserID;
// call in agent_app.js // call in agent_app.js
coview_api.HostChange(userID); coview_api.HostChange(userID);
}; };
......
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