Bug 1397228 - Properly destroy input field; r=rickychien
authorJan Odvarko <odvarko@gmail.com>
Wed, 06 Sep 2017 13:22:14 +0200
changeset 379450 b1e755219f3a0b286be68ec7f462d3b051e015e2
parent 379449 de7570a6289bef8e2a1863c486a1078ea3dd4ceb
child 379451 7e0c0b8a5c1366f11eab22f7c77b9e3b709a996c
push id32455
push userarchaeopteryx@coole-files.de
push dateThu, 07 Sep 2017 21:50:54 +0000
treeherdermozilla-central@64bf417d1bdf [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersrickychien
bugs1397228
milestone57.0a1
first release with
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
last release without
nightly linux32
nightly linux64
nightly mac
nightly win32
nightly win64
Bug 1397228 - Properly destroy input field; r=rickychien MozReview-Commit-ID: KN1wFYIq0uW
devtools/client/shared/components/tree/tree-cell.js
--- a/devtools/client/shared/components/tree/tree-cell.js
+++ b/devtools/client/shared/components/tree/tree-cell.js
@@ -62,17 +62,17 @@ define(function (require, exports, modul
         classNames = [classNames];
       }
 
       return classNames;
     },
 
     updateInputEnabled: function (evt) {
       this.setState(Object.assign({}, this.state, {
-        inputEnabled: evt.target.nodeName !== "input",
+        inputEnabled: evt.target.nodeName.toLowerCase() !== "input",
       }));
     },
 
     render: function () {
       let {
         member,
         id,
         value,