加载中国际化

This commit is contained in:
wangxin
2018-07-03 17:30:23 +08:00
parent f1c8b8be53
commit 49f02f5512
7 changed files with 7 additions and 4 deletions

View File

@@ -42,7 +42,7 @@
$(element).parents(".form-group").find("div[for='"+element.attr("name")+"']").append(error);
},
submitHandler: function(form){
loading('onloading...');
loading('<spring:message code="onloading"/>');
form.submit();
},
errorContainer: "#messageBox"

View File

@@ -45,7 +45,7 @@ $(function(){
$("#cfgRegionCode").val($("#cfgRegionCodeMaat").val());
$("#cfgType").val($("#cfgTypeMaat").val());
}
loading('onloading...');
loading('<spring:message code="onloading"/>');
form.submit();
},
errorContainer: "#messageBox"

View File

@@ -45,7 +45,7 @@ $(function(){
$(element).parents(".form-group").find("div[for='"+element.attr("name")+"']").append(error);
},
submitHandler: function(form){
loading('onloading...');
loading('<spring:message code="onloading"/>');
form.submit();
},
errorContainer: "#messageBox",

View File

@@ -56,7 +56,7 @@ $(function(){
$(element).parents(".form-group").find("div[for='"+element.attr("name")+"']").append(error);
},
submitHandler: function(form){
loading('onloading...');
loading('<spring:message code="onloading"/>');
form.submit();
},
errorContainer: "#messageBox",