From 3a5f285fbc827ad8055377a96561e6724d74ea28 Mon Sep 17 00:00:00 2001 From: "cls%seawood.org" Date: Wed, 5 Sep 2001 07:43:17 +0000 Subject: [PATCH] Deactivate sidebar panels when the panel is not selected. Special thanks to matt@netscape.com for providing this patch. Bug #53239 r=cls sr=ben a=asa --- xpfe/components/sidebar/resources/sidebarOverlay.js | 1 + 1 file changed, 1 insertion(+) diff --git a/xpfe/components/sidebar/resources/sidebarOverlay.js b/xpfe/components/sidebar/resources/sidebarOverlay.js index 842b4e7e3c02..619dd0a92960 100644 --- a/xpfe/components/sidebar/resources/sidebarOverlay.js +++ b/xpfe/components/sidebar/resources/sidebarOverlay.js @@ -310,6 +310,7 @@ function (force_reload) header.removeAttribute('selected'); content.setAttribute('collapsed','true'); + iframe.setAttribute('src', 'about:blank'); load_state = content.getAttribute('loadstate'); if (load_state == 'loading') { iframe.removeEventListener("load", panel_loader, true);