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

@@ -308,7 +308,7 @@ marked.setOptions({
type: 'error',
timeout: 2000,
title: 'Title too short',
message: "Please enter a longer title.",
message: "Please enter a longer title. At least " + Topics.minimumTitleLength + " characters.",
alert_id: 'post_error'
});
}