added minimum lengths into error messages

This commit is contained in:
Baris Soner Usakli
2013-07-18 14:50:58 -04:00
parent f7d27cdef1
commit f90eb72706
3 changed files with 5 additions and 4 deletions

View File

@@ -178,7 +178,7 @@ marked.setOptions({
type: 'error',
timeout: 2000,
title: 'Content too short',
message: "Please enter a longer post.",
message: "Please enter a longer post. At least " + Posts.minimumPostLength + " characters.",
alert_id: 'post_error'
});
}