PM-667 Wrong Size validation message

This commit is contained in:
jennylee
2014-10-22 08:53:19 -04:00
parent 0a1675a920
commit 60b0f05a43

View File

@@ -55,7 +55,7 @@ var currentPagedTable = @#PAGED_TABLE_ID;
if (getField("INP_DOC_MAX_FILESIZE").value != "") {
if(maxFilesize > 0) {
if(maxFilesize > uploadMaxFilesize) {
new leimnud.module.app.alert().make({label: _("ID_SIZE_VERY_LARGE_PERMITTED")});
new leimnud.module.app.alert().make({label: _("ID_INPUT_MAX_SIZE")});
getField("INP_DOC_MAX_FILESIZE").focus();
return false;
}