From c8d66a63fb5a64231baf549e5736e4dd38ef8471 Mon Sep 17 00:00:00 2001 From: Bernard Labno Date: Mon, 23 May 2011 14:21:23 +0000 Subject: [PATCH] Fix for jQuery 1.3.2 and ie7. --- src/main/resources/org/richfaces/renderkit/html/scripts/jquery.pnotify.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/resources/org/richfaces/renderkit/html/scripts/jquery.pnotify.js b/src/main/resources/org/richfaces/renderkit/html/scripts/jquery.pnotify.js index bf2b9c0..18740d7 100644 --- a/src/main/resources/org/richfaces/renderkit/html/scripts/jquery.pnotify.js +++ b/src/main/resources/org/richfaces/renderkit/html/scripts/jquery.pnotify.js @@ -410,7 +410,7 @@ // Display the notice. pnotify.pnotify_display = function() { // If the notice is not in the DOM, append it. - if (!pnotify.parent().length) + if (!pnotify.parent().length || !pnotify.parent()[0].tagName) pnotify.appendTo(body); // Run callback. if (opts.pnotify_before_open) { -- libgit2 0.24.0