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
ea5d38f9
Commit
ea5d38f9
authored
Apr 21, 2021
by
Takatoshi Miura
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'origin/bugfix_messageSend_#590' into 'release_sp3'
送信ボタンでメッセージを送信できないバグを修正 See merge request
!76
parents
6225efac
02a95d1e
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
17 additions
and
12 deletions
+17
-12
public_new/js/common.js
+17
-12
No files found.
public_new/js/common.js
View file @
ea5d38f9
...
...
@@ -47,18 +47,23 @@ $(function() {
});
$
(
'.message_input_form'
).
on
(
'focus'
,
function
(
e
){
$
(
'.message_input_send'
).
removeClass
(
'none'
);
$
(
'.attach_file'
).
addClass
(
'none'
);
$
(
'.footer_content_b'
).
addClass
(
'none'
);
setTimeout
(
function
()
{
$
(
'.message_input_send'
).
removeClass
(
'none'
);
$
(
'.attach_file'
).
addClass
(
'none'
);
$
(
'.footer_content_b'
).
addClass
(
'none'
);
},
10
);
});
$
(
'.message_input_form'
).
on
(
'focusout'
,
function
(
e
){
if
(
$
(
e
.
relatedTarget
).
hasClass
(
'message_input_send'
)){
CHAT_UI
.
sendMessage
();
}
else
{
$
(
'.message_input_send'
).
addClass
(
'none'
);
$
(
'.attach_file'
).
removeClass
(
'none'
);
$
(
'.footer_content_b'
).
removeClass
(
'none'
);
}
$
(
'.message_input_form'
).
on
(
'focusout'
,
function
(
e
){
setTimeout
(
function
()
{
if
(
$
(
e
.
relatedTarget
).
hasClass
(
'message_input_send'
)){
CHAT_UI
.
sendMessage
();
}
else
{
$
(
'.message_input_send'
).
addClass
(
'none'
);
$
(
'.attach_file'
).
removeClass
(
'none'
);
$
(
'.footer_content_b'
).
removeClass
(
'none'
);
}
},
10
);
});
});
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