[Pkg-mozext-commits] [firebug] 04/15: Fix title of Firbug detached window (related to issue 5883)

David Prévot taffit at moszumanska.debian.org
Mon Mar 31 22:46:38 UTC 2014


This is an automated email from the git hooks/post-receive script.

taffit pushed a commit to tag firebug-1.10.5
in repository firebug.

commit 5d7321d947881f9b63a750ab24a2922c6122341b
Author: Jan Odvarko <odvarko at gmail.com>
Date:   Thu Oct 11 10:14:30 2012 +0200

    Fix title of Firbug detached window (related to issue 5883)
---
 extension/content/firebug/chrome/chrome.js | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/extension/content/firebug/chrome/chrome.js b/extension/content/firebug/chrome/chrome.js
index eaf6c62..dbe3b0e 100644
--- a/extension/content/firebug/chrome/chrome.js
+++ b/extension/content/firebug/chrome/chrome.js
@@ -936,11 +936,11 @@ var FirebugChrome =
         if (Firebug.currentContext)
         {
             var title = Firebug.currentContext.getTitle();
-            win.top.document.title = Locale.$STRF("WindowTitle", [title]);
+            win.parent.document.title = Locale.$STRF("WindowTitle", [title]);
         }
         else
         {
-            win.top.document.title = Locale.$STR("Firebug");
+            win.parent.document.title = Locale.$STR("Firebug");
         }
     },
 

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-mozext/firebug.git



More information about the Pkg-mozext-commits mailing list