Commit 91509282 by Lee Munkyeong

Merge branch 'develop' of gitlab.agentec.jp:abookCommunication/chat_webview into…

Merge branch 'develop' of gitlab.agentec.jp:abookCommunication/chat_webview into feature/change_collaboration
parents eb453f73 9f1389a6
......@@ -79,6 +79,13 @@
<button type="button" name="button" class="footer_menu_btn"></button>
<div class="footer_menu-wrap d-flex justify-content-around h-100">
<div class="d-flex align-items-center h-100">
<div class="footer_menu_item photo_select_button host_contents">
<a href="#">
<div class="img_wrap bg_blue" id="photo_open_place_holder">
<img src="icon/icon_collabo_picture.png" alt="写真">
</div>
</a>
</div>
<div class="footer_menu_item">
<a href="#">
<div class="img_wrap bg_red" id="penBtn">
......@@ -198,4 +205,4 @@
};
</script>
</body>
</html>
\ No newline at end of file
</html>
......@@ -94,6 +94,10 @@ $(function () {
$('#penBtn').removeClass('bg_blue');
}
})
$('#photo_open_place_holder').click(function () {
$("#open_file_upload").trigger("click");
})
$('#eraserBtn').click(function () {
$('#coviewEraserCtrBtn').click();
......
......@@ -161,7 +161,6 @@ $(function () {
console.log("------------------------------");
console.log(globalUserInfo.coWorkType);
console.log(collaborationJoinFlg);
hostSearchInterval();
if (globalUserInfo.coWorkType == collaborationTypeKey.DOCUMENT) {
isDocument = true;
globalUserInfo.coWorkType = collaborationTypeKey.AUDIO;
......@@ -170,6 +169,7 @@ $(function () {
isBoard = true;
globalUserInfo.coWorkType = collaborationTypeKey.CAMERA;
}
hostSearchInterval();
if (collaborationJoinFlg == "1") {
coview_api.JoinRoom(globalUserInfo.roomId, globalUserInfo.coWorkType);
if (isDocument) {
......@@ -415,6 +415,11 @@ function Coview_connect_audio_collaboration() {
function hostSearchInterval() {
let hostName = "";
if (g_isMainMan) {
$('.host_contents').removeClass('none');
} else {
$('.host_contents').addClass('none');
}
function hostSearch() {
if (hostName != g_isMainManUsername) {
if (hostName != "") {
......@@ -432,11 +437,6 @@ function hostSearchInterval() {
$("#collaboration_user_" + hostName).addClass("host");
}
if (g_isMainMan) {
$('.host_contents').removeClass('none');
} else {
$('.host_contents').addClass('none');
}
}
}
}
......
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