Author: carlucci
Date: Mon Jul  9 14:05:58 2012
New Revision: 1359180

URL: http://svn.apache.org/viewvc?rev=1359180&view=rev
Log:
RAVE-579: Rework the "add gadget" notification mechanism.  Patch supplied by 
Kristen Legacy

Modified:
    rave/trunk/rave-portal-resources/src/main/webapp/static/script/rave.js

Modified: rave/trunk/rave-portal-resources/src/main/webapp/static/script/rave.js
URL: 
http://svn.apache.org/viewvc/rave/trunk/rave-portal-resources/src/main/webapp/static/script/rave.js?rev=1359180&r1=1359179&r2=1359180&view=diff
==============================================================================
--- rave/trunk/rave-portal-resources/src/main/webapp/static/script/rave.js 
(original)
+++ rave/trunk/rave-portal-resources/src/main/webapp/static/script/rave.js Mon 
Jul  9 14:05:58 2012
@@ -834,8 +834,9 @@ var rave = rave || (function () {
             $("<div />", {'class':'alert alert-success navbar-spacer', 
'text':message})
                 .hide()
                 .prependTo("body")
-                .slideDown('fast').delay(5000)
-                .slideUp(function () {
+                .css({ position: 'fixed', bottom: '0px', margin:'0 0.5%', 
width: '95%', padding:'8px 2%', 'z-index':9999, 'border-radius': '4px 4px 0 0'})
+                .fadeIn('fast').delay(5000)
+                .fadeOut(function () {
                     $(this).remove();
                 });
         }


Reply via email to