The branch, master has been updated
       via  d67f4574219d654e71b719e229c0b98f663a1091 (commit)
      from  1f54fa2f1617b825c9b12b0f42998326e57f26d5 (commit)


- Log -----------------------------------------------------------------
commit d67f4574219d654e71b719e229c0b98f663a1091
Author: Rouslan Placella <[email protected]>
Date:   Tue Jun 21 21:51:49 2011 +0100

    PMA_slidingMessage() must accept invalid input objects.

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

Summary of changes:
 js/functions.js |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/js/functions.js b/js/functions.js
index c3900f3..f0966d0 100644
--- a/js/functions.js
+++ b/js/functions.js
@@ -2463,7 +2463,7 @@ function PMA_slidingMessage(msg, $obj) {
         // Don't show an empty message
         return false;
     }
-    if ($obj == undefined || ! $obj instanceof jQuery) {
+    if ($obj == undefined || ! $obj instanceof jQuery || $obj.length == 0) {
         // If the second argument was not supplied,
         // we might have to create a new DOM node.
         if ($('#PMA_slidingMessage').length == 0) {


hooks/post-receive
-- 
phpMyAdmin

------------------------------------------------------------------------------
EditLive Enterprise is the world's most technically advanced content
authoring tool. Experience the power of Track Changes, Inline Image
Editing and ensure content is compliant with Accessibility Checking.
http://p.sf.net/sfu/ephox-dev2dev
_______________________________________________
Phpmyadmin-git mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpmyadmin-git

Reply via email to