use  to trigger green msg box on success and red on error when calling enqueueMessage
Fixed indentation on new lines added in previous commit
Merge pull request #5300 from big-wave-tim/staging

Fix for issue #5286 "UX Issue: Error message should display in Red color instead of green text"