From b91f7ba9c6ba19afa6909e726ee0f8f042b71544 Mon Sep 17 00:00:00 2001 From: pirinthapan Date: Wed, 10 Jun 2015 20:31:20 +0530 Subject: [PATCH] adding the commit done in appmgt cloud with the id f1c9b59e2fa6292d8feccbc2470fca2f433ad60b --- .../site/themes/default/templates/application/get/template.jag | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/jaggery-apps/appmgt/src/site/themes/default/templates/application/get/template.jag b/modules/jaggery-apps/appmgt/src/site/themes/default/templates/application/get/template.jag index e7ee27e58..dda3baf23 100644 --- a/modules/jaggery-apps/appmgt/src/site/themes/default/templates/application/get/template.jag +++ b/modules/jaggery-apps/appmgt/src/site/themes/default/templates/application/get/template.jag @@ -334,7 +334,7 @@ function validateIconImage(filename,fileSize) { break; } - if(fileSize > <%=APP_ICON_MAX_SIZE%> && extStatus == true){ + if((fileSize/1024) > <%=APP_ICON_MAX_SIZE%> && extStatus == true){ fileSizeStatus = false; jagg.message({ content: "Image file should be less than 5MB",