Merged in jennydmz/processmaker/PM-667_mstr (pull request #1011)

PM-667 Wrong Size validation message
This commit is contained in:
Julio Cesar Laura Avendaño
2014-10-22 08:58:19 -04:00

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;
}