Commit ed74f16f by Takatoshi Miura

#42980_createBtn-disable_オフライン時にルーム開設ボタンを非活性化するように修正

parent ec36e743
......@@ -2530,7 +2530,8 @@ CHAT_UI.refreshAllGroupForAddUser = function(paramGroupId) {
CHAT_UI.refreshForOnline = function() {
IS_ONLINE = 'true';
$('.craeteRoomButton').show();
$('.craeteRoomButton').off('click', CHAT_UI.offlineHandler);
$('.craeteRoomButton').css('opacity','1.0');
$('.footer_item a').removeClass('ui-state-disabled');
$('#videoUploadButton').removeClass('ui-state-disabled');
$('#imageInputButton').removeClass('ui-state-disabled');
......@@ -2550,7 +2551,8 @@ CHAT_UI.refreshForOnline = function() {
CHAT_UI.refreshForOffline = function() {
IS_ONLINE = 'false';
$('.craeteRoomButton').hide();
$('.craeteRoomButton').on('click', CHAT_UI.offlineHandler);
$('.craeteRoomButton').css('opacity','0.3');
$('.footer_item a').addClass('ui-state-disabled');
$('#videoUploadButton').addClass('ui-state-disabled');
$('#imageInputButton').addClass('ui-state-disabled');
......@@ -2563,6 +2565,10 @@ CHAT_UI.refreshForOffline = function() {
$('.fa-download').hide();
}
CHAT_UI.offlineHandler = function(e) {
e.preventDefault();
}
CHAT_UI.displayExistRoom = function(roomId) {
if (confirm('error_already_exist_same_user')) {
if (CHAT_UTIL.isIOS()) {
......
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