修改标签 要限制长度

This commit is contained in:
lizanle 2015-09-21 16:59:59 +08:00
parent 27a4954612
commit 9f97dc5739
1 changed files with 1 additions and 1 deletions

View File

@ -239,7 +239,7 @@
ele = domEle;
tagId = id;
taggableType = type;
domEle.html('<input name="" id="renameTagName" style="width: 100px;" value="'+name+'"/>');
domEle.html('<input name="" id="renameTagName" maxlength="<%=Setting.tags_max_length%>" minlength="<%= Setting.tags_min_length%>" style="width: 100px;" value="'+name+'"/>');
domEle.parent().css("border","1px solid #ffffff");
$("#renameTagName").focus();
}