Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
chat_webview
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
abookCommunication
chat_webview
Commits
10558594
Commit
10558594
authored
May 31, 2021
by
Lee Munkyeong
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'communication/#42980_createBtn-disable' into 'develop'
#42980 オフライン時にルーム開設ボタンを非活性化するように修正 See merge request
!150
parents
ec36e743
ed74f16f
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
2 deletions
+8
-2
public_new/js/chat-ui.js
+8
-2
No files found.
public_new/js/chat-ui.js
View file @
10558594
...
...
@@ -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
())
{
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment