Bug 1301342 - hide filter icon when editing property in ruleview;r=gl draft
authorJulian Descottes <jdescottes@mozilla.com>
Fri, 14 Oct 2016 17:54:05 +0200
changeset 425342 7e2abfc4742e856fd2087a79b80c54afa8a4bcac
parent 425143 1969b9a404eb4a7cd9e26d93b086930eddc24905
child 533903 45d7548cdee0f06db09508ed15e0b05354b25031
push id32407
push userjdescottes@mozilla.com
push dateFri, 14 Oct 2016 15:54:37 +0000
reviewersgl
bugs1301342
milestone52.0a1
Bug 1301342 - hide filter icon when editing property in ruleview;r=gl MozReview-Commit-ID: HYHGBk0J9y7
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
@@ -448,16 +448,17 @@ TextPropertyEditor.prototype = {
     this._updateComputed();
 
     // Update the rule property highlight.
     this.ruleView._updatePropertyHighlight(this);
   },
 
   _onStartEditing: function () {
     this.element.classList.remove("ruleview-overridden");
+    this.filterProperty.hidden = true;
     this.enable.style.visibility = "hidden";
   },
 
   /**
    * Update the visibility of the enable checkbox, the warning indicator and
    * the filter property, as well as the overriden state of the property.
    */
   updatePropertyState: function () {