[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_0BETA1-1416-g4beca2f

Marc Delisle lem9 at users.sourceforge.net
Mon Jan 3 23:37:41 CET 2011


The branch, master has been updated
       via  4beca2fe920abbe8a0f30a23d23b84d3d6d0c0c8 (commit)
      from  4dddaab5fe5dc0e703db907b5ee40d0e522dfd3f (commit)


- Log -----------------------------------------------------------------
commit 4beca2fe920abbe8a0f30a23d23b84d3d6d0c0c8
Author: Marc Delisle <marc at infomarc.info>
Date:   Mon Jan 3 17:37:33 2011 -0500

    Use the clip effect instead of the drop effect

-----------------------------------------------------------------------

Summary of changes:
 libraries/common.lib.php |    7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diff --git a/libraries/common.lib.php b/libraries/common.lib.php
index c078085..0e8a70c 100644
--- a/libraries/common.lib.php
+++ b/libraries/common.lib.php
@@ -2546,9 +2546,10 @@ function PMA_generate_slider_effect($id, $message)
         $('<a href="#<?php echo $id; ?>" id="anchor_<?php echo $id; ?>"><?php echo htmlspecialchars($message); ?></a>')
             .insertBefore('#<?php echo $id; ?>')
             .click(function() {
-                // the callback should be the 4th parameter but
-                // it only works as the second parameter
-                $('#<?php echo $id; ?>').toggle('drop', function() {
+                // The callback should be the 4th parameter but
+                // it only works as the second parameter;
+                // For the possible effects see http://jqueryui.com/demos/show
+                $('#<?php echo $id; ?>').toggle('clip', function() {
                     PMA_set_status_label_<?php echo $id; ?>();
                 });
             });


hooks/post-receive
-- 
phpMyAdmin




More information about the Git mailing list