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
a3787e8a
Commit
a3787e8a
authored
May 06, 2021
by
Lee Munkyeong
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ルーム名変更に空欄を非許可する。
parent
2a5914e5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
4 deletions
+11
-4
public_new/js/chat-room.js
+5
-1
public_new/js/language_en.js
+2
-1
public_new/js/language_ja.js
+2
-1
public_new/js/language_ko.js
+2
-1
No files found.
public_new/js/chat-room.js
View file @
a3787e8a
...
...
@@ -12,8 +12,12 @@ window.onscroll = function() {
}
$
(
'#roomNameChangeBtn'
).
click
(
function
()
{
//TODO validation
var
changeRoomName
=
$
(
'#roomNameInput'
).
val
();
var
trimmedRoomName
=
$
(
'#roomNameInput'
).
val
().
trim
();
if
(
trimmedRoomName
.
length
==
0
)
{
alert
(
getLocalizedString
(
"error_empty_room_name"
));
return
;
}
if
(
CHAT_UTIL
.
isIOS
())
{
webkit
.
messageHandlers
.
changeRoomName
.
postMessage
(
changeRoomName
);
}
else
if
(
CHAT_UTIL
.
isAndroid
())
{
...
...
public_new/js/language_en.js
View file @
a3787e8a
...
...
@@ -91,5 +91,6 @@ $.lang.en = {
"sunday"
:
"sunday"
,
"collaboration_start"
:
"collaboration start"
,
"collaboration_end"
:
"collaboration end"
,
"notify_not_released"
:
"It will be released later."
"notify_not_released"
:
"It will be released later."
,
"error_empty_room_name"
:
"Please input room name."
}
public_new/js/language_ja.js
View file @
a3787e8a
...
...
@@ -91,5 +91,6 @@ $.lang.ja = {
"sunday"
:
"日曜日"
,
"collaboration_start"
:
"協業中"
,
"collaboration_end"
:
"協業終了"
,
"notify_not_released"
:
"今後リリース予定です。"
"notify_not_released"
:
"今後リリース予定です。"
,
"error_empty_room_name"
:
"ルーム名を入力してください。"
}
public_new/js/language_ko.js
View file @
a3787e8a
...
...
@@ -91,5 +91,6 @@ $.lang.ko = {
"sunday"
:
"일요일"
,
"collaboration_start"
:
"협업중"
,
"collaboration_end"
:
"협업종료"
,
"notify_not_released"
:
"추후 공개예정입니다."
"notify_not_released"
:
"추후 공개예정입니다."
,
"error_empty_room_name"
:
"룸명을 입력해주세요."
}
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