|
|
|
@ -497,8 +497,6 @@ define('composer', [
|
|
|
|
|
return composerAlert(post_uuid, '[[error:title-too-long, ' + config.maximumTitleLength + ']]');
|
|
|
|
|
} else if (checkTitle && !utils.slugify(titleEl.val()).length) {
|
|
|
|
|
return composerAlert(post_uuid, '[[error:invalid-title]]');
|
|
|
|
|
} else if (checkTitle && tags.getTags(post_uuid) && tags.getTags(post_uuid).length < parseInt(config.minimumTagsPerTopic, 10)) {
|
|
|
|
|
return composerAlert(post_uuid, '[[error:not-enough-tags]]');
|
|
|
|
|
} else if (bodyEl.val().length < parseInt(config.minimumPostLength, 10)) {
|
|
|
|
|
return composerAlert(post_uuid, '[[error:content-too-short, ' + config.minimumPostLength + ']]');
|
|
|
|
|
} else if (bodyEl.val().length > parseInt(config.maximumPostLength, 10)) {
|
|
|
|
|