[Phpmyadmin-git] [SCM] phpMyAdmin branch, master, updated. RELEASE_3_4_3RC1-4530-gd67f457
Rouslan Placella
roccivic at users.sourceforge.net
Tue Jun 21 22:52:19 CEST 2011
The branch, master has been updated
via d67f4574219d654e71b719e229c0b98f663a1091 (commit)
from 1f54fa2f1617b825c9b12b0f42998326e57f26d5 (commit)
- Log -----------------------------------------------------------------
commit d67f4574219d654e71b719e229c0b98f663a1091
Author: Rouslan Placella <rouslan at placella.com>
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
More information about the Git
mailing list