Commit 80cbdc71 by Takatoshi Miura

Merge branch 'communication/ABCOMM-665_add-user-button' into 'develop'

[iOS] 協業でユーザー招待ボタンが表示されないバグを修正

See merge request !141
parents a2b19785 7f8ba1d9
......@@ -261,7 +261,7 @@ CHAT_DB.getBeforeRoomType = function() {
CHAT_DB.getRoomType = function() {
// Androidは実装不要
if (CHAT_UTIL.isIOS()) {
return callNativeApp("getRoomType", {});
return parseInt(callNativeApp("getRoomType", {}), 10);
}
};
......
......@@ -431,6 +431,12 @@ function initCollaborationUI(changeCollaborationType){
if ($('.menu_btn').hasClass("hide")) {
$(".menu_btn").click();
}
if (CHAT_UTIL.isIOS) {
roomType = CHAT_DB.getRoomType();
if (roomType == chatRoomType.DM) {
$('.add_user_btn').removeClass('none');
}
}
$("link[href='./css/collaboration_board.css']").remove();
penOff();
switch (changeCollaborationType) {
......
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