[Pkg-mozext-commits] [firebug] 21/82: Fix editing "undefined" in the DOM panel

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


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

taffit pushed a commit to tag fbtest-1.11.2
in repository firebug.

commit 379da3b63a979a6075bf213700a6bbce79ab8e3a
Author: Simon Lindholm <simon.lindholm10 at gmail.com>
Date:   Wed Dec 19 01:08:59 2012 +0100

    Fix editing "undefined" in the DOM panel
---
 extension/content/firebug/dom/domPanel.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/extension/content/firebug/dom/domPanel.js b/extension/content/firebug/dom/domPanel.js
index 1829162..055169e 100644
--- a/extension/content/firebug/dom/domPanel.js
+++ b/extension/content/firebug/dom/domPanel.js
@@ -1103,7 +1103,7 @@ Firebug.DOMBasePanel.prototype = Obj.extend(Firebug.Panel,
 
                 var type = typeof propValue;
                 if (type == "undefined" || type == "number" || type == "boolean")
-                    editValue = propValue;
+                    editValue = "" + propValue;
                 else if (type == "string")
                     editValue = "\"" + Str.escapeJS(propValue) + "\"";
                 else if (propValue == null)

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