Permalink
Browse files

Update display when enabling/disabling a breakpoint

  • Loading branch information...
1 parent f5ef81b commit 23211155e230abd464904f24e46dd80de7dab9fd @SebastianZ SebastianZ committed Jun 9, 2012
Showing with 7 additions and 0 deletions.
  1. +7 −0 extension/content/firebug/cookies/breakpoints.js
@@ -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;

0 comments on commit 2321115

Please sign in to comment.