Commit 13dd1873 by Takumi Imai

#50944 メッセージ送信で、最大文字列以内でアラート表示される

parent e0161555
...@@ -32,13 +32,13 @@ var ValidationUtil = { ...@@ -32,13 +32,13 @@ var ValidationUtil = {
// check text min length // check text min length
CheckMinLengthForByte: function (value, len) { CheckMinLengthForByte: function (value, len) {
if (this.GetByteCount(value) < len) return false; if (value.length < len) return false;
return true; return true;
}, },
// check text max length // check text max length
CheckMaxLengthForByte: function (value, len) { CheckMaxLengthForByte: function (value, len) {
if (this.GetByteCount(value) > len) return false; if (value.length > len) return false;
return true; return true;
}, },
......
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