Skip to content

  • Projects
  • Groups
  • Snippets
  • Help
  • This project
    • Loading...
  • Sign in / Register
C
check
  • 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
  • Activity
  • Graph
  • Charts
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
  • abook_web
  • check
  • Merge Requests
  • !35

Merged
Opened Nov 09, 2022 by NGUYEN HOANG SON@hoangson 
  • Report abuse
Report abuse

check max length message content when send

  • Discussion 1
  • Commits 3
  • Changes 4
{{ resolvedDiscussionCount }}/{{ discussionCount }} {{ resolvedCountText }} resolved
  • Takumi Imai
    @imai-t started a discussion on the diff Nov 10, 2022
    Resolved by NGUYEN HOANG SON Nov 10, 2022
    abweb/js/sendMessage/send-message.js
    41 41 alert(I18N.i18nText('msgContentRequired'));
    42 42 return false;
    43 43 }
    44 if (!ValidationUtil.CheckMaxLengthForByte(message, 207)) {
    45 alert(I18N.i18nText('msgContentInvalidLength'));
    46 return false;
    47 }
    • Takumi Imai @imai-t commented Nov 10, 2022
      Developer

      Please use html to limit the number of characters. With js, it is possible to enter more than the number of characters in the input field, so please use html to limit the number of characters.

      Edited Nov 10, 2022
      Please use html to limit the number of characters. With js, it is possible to enter more than the number of characters in the input field, so please use html to limit the number of characters.
    Please register or sign in to reply
  • NGUYEN HOANG SON @hoangson

    added 5 commits

    • 168e22ea...c584d99e - 4 commits from branch feature/1.0_check_web_dev
    • 5cdc9152 - Merge branch 'feature/1.0_check_web_dev' into feature/1.0_check_web_dev_50270

    Compare with previous version

    Nov 10, 2022

    added 5 commits

    • 168e22ea...c584d99e - 4 commits from branch feature/1.0_check_web_dev
    • 5cdc9152 - Merge branch 'feature/1.0_check_web_dev' into feature/1.0_check_web_dev_50270

    Compare with previous version

    added 5 commits * 168e22ea...c584d99e - 4 commits from branch `feature/1.0_check_web_dev` * 5cdc9152 - Merge branch 'feature/1.0_check_web_dev' into feature/1.0_check_web_dev_50270 [Compare with previous version](https://gitlab.agentec.jp/abook_web/check/merge_requests/35/diffs?diff_id=9899&start_sha=168e22ea412b2bdafa67b00d1bfad8c700d512e9)
    Toggle commit list
  • NGUYEN HOANG SON @hoangson

    added 1 commit

    • f836d9d3 - implement content max length 207 for html

    Compare with previous version

    Nov 10, 2022

    added 1 commit

    • f836d9d3 - implement content max length 207 for html

    Compare with previous version

    added 1 commit * f836d9d3 - implement content max length 207 for html [Compare with previous version](https://gitlab.agentec.jp/abook_web/check/merge_requests/35/diffs?diff_id=9901&start_sha=5cdc915262f8d064540c808c133a03fa5eaf8050)
    Toggle commit list
  • NGUYEN HOANG SON @hoangson

    resolved all discussions

    Nov 10, 2022

    resolved all discussions

    resolved all discussions
    Toggle commit list
  • Takumi Imai @imai-t

    merged

    Nov 10, 2022

    merged

    merged
    Toggle commit list
  • Takumi Imai @imai-t

    mentioned in commit 487de3d7

    Nov 10, 2022

    mentioned in commit 487de3d7

    mentioned in commit 487de3d7768a7d99767377ac2270a8b24360532e
    Toggle commit list
  • Write
  • Preview
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 sign in to comment
Takumi Imai
Assignee
Takumi Imai @imai-t
Assign to
None
Milestone
None
Assign milestone
Time tracking
2
2 participants
Reference: abook_web/check!35
×

Revert this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.
×

Cherry-pick this merge request

Switch branch
Cancel
A new branch will be created in your fork and a new merge request will be started.