[Pkg-mozext-commits] [firebug] 19/35: Issue 7034: Editing <body> in the HTML panel sometimes includes the highlighter HTML

David Prévot taffit at moszumanska.debian.org
Sat May 24 14:54:28 UTC 2014


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

taffit pushed a commit to branch master
in repository firebug.

commit 02497531e5937dc63bc9c3677439adf2d0979c8a
Author: Jan Odvarko <odvarko at gmail.com>
Date:   Thu May 22 11:50:18 2014 +0200

    Issue 7034: 	Editing <body> in the HTML panel sometimes includes the highlighter HTML
---
 extension/content/firebug/html/htmlPanel.js | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/extension/content/firebug/html/htmlPanel.js b/extension/content/firebug/html/htmlPanel.js
index fd45b12..2c48daa 100644
--- a/extension/content/firebug/html/htmlPanel.js
+++ b/extension/content/firebug/html/htmlPanel.js
@@ -961,6 +961,10 @@ HTMLPanel.prototype = Obj.extend(WalkingPanel,
             editor.innerEditMode = true;
         }
 
+        // Make sure the Inspector highlighter markup is not part
+        // of the edited HTML (see also issue 7034).
+        Inspector.highlightObject(null);
+
         var html = editor.innerEditMode ? node.innerHTML : Xml.getElementHTML(node);
         html = Str.escapeForHtmlEditor(html);
 

-- 
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