From d41ffa427da70e9eb05ff895f7776f2fbe41e798 Mon Sep 17 00:00:00 2001 From: jlukic Date: Mon, 6 Jan 2014 17:10:19 -0500 Subject: [PATCH] Updates message docs about dismissable message --- server/documents/collections/message.html.eco | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/server/documents/collections/message.html.eco b/server/documents/collections/message.html.eco index 1f8347ac9..f65e58b4f 100755 --- a/server/documents/collections/message.html.eco +++ b/server/documents/collections/message.html.eco @@ -75,6 +75,14 @@ type : 'UI Collection'

This is a special notification which you can dismiss if you're bored with it.

+
+

Dismissable blocks do not automatically close when using the close icon, this behavior must be defined using javascript, for example:

+
+ $('.message .close').on('click', function() { + $(this).closest('.message').fadeOut(); + }); +
+