og:title字数限制,不设定上限

hotfix/远程访问多媒体中心
lyt 7 years ago
parent bbb22be672
commit d3a429f003

@ -5,7 +5,7 @@
<meta charset="utf-8">
<title>信息平台</title>
<link rel="stylesheet" href="/css/information-system3.css?v=201508112" type="text/css" />
<script type="text/javascript" src="/min/?f=/js/information-system3.min.js,/js/common.js&v=20190124"></script>
<script type="text/javascript" src="/min/?f=/js/information-system3.min.js,/js/common.js&v=20190128"></script>
<script type="text/javascript" src="/js/kindeditor/kindeditor.js?v=20180730"></script>
<link rel="shortcut icon" href="/bootstrap/img/glyphicons_290_skull.png">

@ -539,10 +539,7 @@ function get_ajax_reviewed_list(formid, container, flag) {
function count_valid(element, element_text, from, to) {
if (from <= 0) { return true;}
var element_value_cnt = get_string_length_site(element) ;
if (to > 0 && (element_value_cnt < from || element_value_cnt > to) ) {
$.modaldialog.error(element_text + "长度必须在" + from + "~" + to + "个字符之间")
return false
} else if (to <= 0 && element_value_cnt < from) {
if (element_value_cnt < from) {
$.modaldialog.error(element_text + "长度必须大于" + from + "个字符")
return false
}

Loading…
Cancel
Save