|
|
|
@ -157,7 +157,7 @@ define(['taskbar'], function(taskbar) {
|
|
|
|
|
composer.load(uuid);
|
|
|
|
|
} else {
|
|
|
|
|
app.alert({
|
|
|
|
|
type: 'error',
|
|
|
|
|
type: 'danger',
|
|
|
|
|
timeout: 5000,
|
|
|
|
|
alert_id: 'post_error',
|
|
|
|
|
title: 'Please Log In to Post',
|
|
|
|
@ -336,7 +336,7 @@ define(['taskbar'], function(taskbar) {
|
|
|
|
|
|
|
|
|
|
if (titleEl.value.length < config.minimumTitleLength) {
|
|
|
|
|
return app.alert({
|
|
|
|
|
type: 'error',
|
|
|
|
|
type: 'danger',
|
|
|
|
|
timeout: 2000,
|
|
|
|
|
title: 'Title too short',
|
|
|
|
|
message: "Please enter a longer title. At least " + config.minimumTitleLength+ " characters.",
|
|
|
|
@ -346,7 +346,7 @@ define(['taskbar'], function(taskbar) {
|
|
|
|
|
|
|
|
|
|
if (bodyEl.value.length < config.minimumPostLength) {
|
|
|
|
|
return app.alert({
|
|
|
|
|
type: 'error',
|
|
|
|
|
type: 'danger',
|
|
|
|
|
timeout: 2000,
|
|
|
|
|
title: 'Content too short',
|
|
|
|
|
message: "Please enter a longer post. At least " + config.minimumPostLength + " characters.",
|
|
|
|
|