From 872b4a377fa139a5ec12e7083063e1a1602c8a47 Mon Sep 17 00:00:00 2001 From: nccu Date: Fri, 6 Mar 2015 10:26:58 +0800 Subject: [PATCH] fix upload limit --- app/views/admin/news/_form.html.erb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/admin/news/_form.html.erb b/app/views/admin/news/_form.html.erb index 86cb2bd..96b2586 100644 --- a/app/views/admin/news/_form.html.erb +++ b/app/views/admin/news/_form.html.erb @@ -480,7 +480,7 @@ } if(!validate){ alert("您還沒有上傳封面圖片"); - fileupload_alert.text("<%= t("news.file_size")%>: "+file_size.toFixed(1)+"MB <%= t("news.file_size_exceed_limitation") %>, <%= t("news.file_size_limit") %>: "+fileupload_size_limit_mb+"MB"); + fileupload_alert.text("<%= t("news.file_size")%>: "+file_size.toFixed(1)+"MB , <%= t("news.file_size_limit") %>: "+fileupload_size_limit_mb+"MB"); fileupload_alert.show(); $("#basic").removeClass("active"); $("#status").removeClass("active");