Skip to content

Commit

Permalink
Hide CSS Edit button if there is no location (related to issue 6582)
Browse files Browse the repository at this point in the history
  • Loading branch information
janodvarko committed Jul 9, 2013
1 parent 63e99f3 commit 0080949
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions extension/content/firebug/css/cssPanel.js
Expand Up @@ -1324,6 +1324,9 @@ Firebug.CSSStyleSheetPanel.prototype = Obj.extend(Firebug.Panel,

this.showToolbarButtons("fbCSSButtons", !Url.isSystemStyleSheet(this.location));

// Hide CSS Edit button if there is no current location.
this.showToolbarButtons("fbToggleCSSEditing", this.location != null);

Events.dispatch(this.fbListeners, "onCSSRulesAdded", [this, this.panelNode]);

// If the full editing mode (not the inline) is on while the location changes,
Expand Down

0 comments on commit 0080949

Please sign in to comment.