修正错误信息的国家化code

This commit is contained in:
zhangwei
2018-11-13 11:22:06 +08:00
parent 71803f7d3b
commit c9bbf499b6

View File

@@ -21,7 +21,7 @@
onAddTag:function(tag,size){
var reg = new RegExp(/\t|\r|\n|,/);
if (tag.match(reg)) {
$(this).parents(".col-md-6").next("div").html("<label class='error'><spring:message code='cache_param_character_error'/></label>");
$(this).parents(".col-md-6").next("div").html("<label class='error'><spring:message code='ignore_qs_error'/></label>");
}else{
$(this).parents(".col-md-6").next("div").html("");
}
@@ -101,7 +101,7 @@
var subscribeId=0;
if($("#ignore_qs").parents(".col-md-6").next("div").html()!=''){
$("#ignore_qs").parents(".col-md-6").next("div").html("<label class='error'><spring:message code='cache_param_character_error'/></label>");
$("#ignore_qs").parents(".col-md-6").next("div").html("<label class='error'><spring:message code='ignore_qs_error'/></label>");
return;
}
if($("#pinning_time_unit").val()=='h'){