修正错误信息的国家化code
This commit is contained in:
@@ -21,7 +21,7 @@
|
|||||||
onAddTag:function(tag,size){
|
onAddTag:function(tag,size){
|
||||||
var reg = new RegExp(/\t|\r|\n|,/);
|
var reg = new RegExp(/\t|\r|\n|,/);
|
||||||
if (tag.match(reg)) {
|
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{
|
}else{
|
||||||
$(this).parents(".col-md-6").next("div").html("");
|
$(this).parents(".col-md-6").next("div").html("");
|
||||||
}
|
}
|
||||||
@@ -101,7 +101,7 @@
|
|||||||
var subscribeId=0;
|
var subscribeId=0;
|
||||||
|
|
||||||
if($("#ignore_qs").parents(".col-md-6").next("div").html()!=''){
|
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;
|
return;
|
||||||
}
|
}
|
||||||
if($("#pinning_time_unit").val()=='h'){
|
if($("#pinning_time_unit").val()=='h'){
|
||||||
|
|||||||
Reference in New Issue
Block a user