From 004884801ddcee112f6001f9294f97cf0edb3579 Mon Sep 17 00:00:00 2001 From: Vladimir Krylov Date: Wed, 16 Mar 2016 11:38:17 +0200 Subject: [PATCH] Story#113524121 - update legal doc validation messages --- app/assets/javascripts/registrar/application.coffee | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/app/assets/javascripts/registrar/application.coffee b/app/assets/javascripts/registrar/application.coffee index 9c7dfec03..943f14a23 100644 --- a/app/assets/javascripts/registrar/application.coffee +++ b/app/assets/javascripts/registrar/application.coffee @@ -35,8 +35,8 @@ $(document).on 'page:change', -> if (files = fileInput.files).length fileSize = files[0].size if fileSize < minSize - alert 'Document size is less then 8kB bytes' + alert 'Document size should be more than 8kB' return false else if fileSize > maxSize - alert 'Document size is more then 8MB bytes' + alert 'Document size should be less than 8MB' return false