Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Update display when enabling/disabling a breakpoint

  • Loading branch information...
commit 23211155e230abd464904f24e46dd80de7dab9fd 1 parent f5ef81b
Sebastian Zartner authored June 09, 2012
7  extension/content/firebug/cookies/breakpoints.js
@@ -290,6 +290,13 @@ Breakpoints.BreakpointTemplate = Domplate.domplate(Firebug.Rep,
290 290
         bp.checked = checkBox.checked;
291 291
 
292 292
         var bpPanel = Firebug.getElementPanel(checkBox);
  293
+        if (bpPanel)
  294
+        {
  295
+            // xxxsz: Needs a better way to update display of breakpoint than invalidate
  296
+            // the whole panel's display
  297
+            bpPanel.context.invalidatePanels("breakpoints");
  298
+        }
  299
+
293 300
         var cookiePanel = bpPanel.context.getPanel(panelName, true);
294 301
         if (!cookiePanel)
295 302
             return;

0 notes on commit 2321115

Please sign in to comment.
Something went wrong with that request. Please try again.