Bug 1318019 - Add missing () to call isDisplayGrid function when a property value editor closes. r=me
authorGabriel Luong <gabriel.luong@gmail.com>
Thu, 17 Nov 2016 13:15:18 +0900
changeset 322941 ef23bf8110953349a23ba2e344c20643b392eda0
parent 322940 b5ee658f3937e0bcc263c8d357f5fd0e21d84678
child 322942 791cc18c90be2f6ecb12de64a344feb86b34f191
push id30964
push usercbook@mozilla.com
push dateThu, 17 Nov 2016 13:34:58 +0000
treeherdermozilla-central@41fe2fa4ddab [default view] [failures only]
perfherder[talos] [build metrics] [platform microbench] (compared to previous push)
reviewersme
bugs1318019
milestone53.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 1318019 - Add missing () to call isDisplayGrid function when a property value editor closes. r=me
devtools/client/inspector/rules/views/text-property-editor.js
--- a/devtools/client/inspector/rules/views/text-property-editor.js
+++ b/devtools/client/inspector/rules/views/text-property-editor.js
@@ -730,17 +730,17 @@ TextPropertyEditor.prototype = {
     // its original value and enabled or disabled state
     if (value.trim() && isValueUnchanged) {
       this.ruleEditor.rule.previewPropertyValue(this.prop, val.value,
                                                 val.priority);
       this.rule.setPropertyEnabled(this.prop, this.prop.enabled);
       return;
     }
 
-    if (this.isDisplayGrid) {
+    if (this.isDisplayGrid()) {
       this.ruleView.highlighters._hideGridHighlighter();
     }
 
     // First, set this property value (common case, only modified a property)
     this.prop.setValue(val.value, val.priority);
 
     if (!this.prop.enabled) {
       this.prop.setEnabled(true);