Skip to content

Commit

Permalink
Update display when enabling/disabling a breakpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastianZ committed Jun 9, 2012
1 parent f5ef81b commit 2321115
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions extension/content/firebug/cookies/breakpoints.js
Expand Up @@ -290,6 +290,13 @@ Breakpoints.BreakpointTemplate = Domplate.domplate(Firebug.Rep,
bp.checked = checkBox.checked;

var bpPanel = Firebug.getElementPanel(checkBox);
if (bpPanel)
{
// xxxsz: Needs a better way to update display of breakpoint than invalidate
// the whole panel's display
bpPanel.context.invalidatePanels("breakpoints");
}

var cookiePanel = bpPanel.context.getPanel(panelName, true);
if (!cookiePanel)
return;
Expand Down

0 comments on commit 2321115

Please sign in to comment.