[Solar-svn] Revision 2873

pmjones at solarphp.com pmjones at solarphp.com
Sat Oct 13 08:51:50 CDT 2007


Solar_App_Bookmarks:

* [CHG] actionUser() and actionTag() no longer flash a backlink under RSS formats; this fixes errors when the user has live bookmarks in Firefox and the "back" link points to RSS feed pulled by the live bookmark.

* [CHG] The edit.php view now uses jsHighlight() for highlighting success and failure messages.




Modified: trunk/Solar/App/Bookmarks/View/edit.php
===================================================================
--- trunk/Solar/App/Bookmarks/View/edit.php	2007-10-13 13:49:15 UTC (rev 2872)
+++ trunk/Solar/App/Bookmarks/View/edit.php	2007-10-13 13:51:50 UTC (rev 2873)
@@ -37,23 +37,6 @@
               ->endGroup()
               ->fetch();
     
-    // add highlighting to all UL elements in the form.
-    // this works for success and failure, and for all
-    // individual failed elements.
-    $this->jsScriptaculous()->effect->highlight(
-        "#form-bookmark ul.success",
-        array(
-            'duration' => 3,
-            'endcolor' => '#aaaaff',
-            'restorecolor' => true,
-        )
-    );
-    
-    $this->jsScriptaculous()->effect->highlight(
-        "#form-bookmark ul.failure",
-        array(
-            'duration' => 3,
-            'endcolor' => '#ffaaaa',
-            'restorecolor' => true,
-        )
-    );
\ No newline at end of file
+    // javascript highlight effects
+    $this->jsHighlight("#form-bookmark ul.success");
+    $this->jsHighlight("#form-bookmark ul.failure");




More information about the Solar-svn mailing list