Permalink
Browse files

[1.10][&1.9] Issue 5216 ('Break On This Error' missing from the conte…

…xt menu)
  • Loading branch information...
1 parent 43adc7e commit a17e52864924bc97e9c7c776a6c7ff38c7c6c879 @janodvarko janodvarko committed Apr 12, 2012
Showing with 3 additions and 3 deletions.
  1. +3 −3 extension/content/firebug/chrome/reps.js
@@ -2127,12 +2127,12 @@ FirebugReps.ErrorMessage = domplate(Firebug.Rep,
{label: "CopyError", command: Obj.bindFixed(this.copyError, this, error) }
];
- if (error.category == "css")
+ if (error.category != "css")
{
items.push(
"-",
{label: "BreakOnThisError", type: "checkbox", checked: breakOnThisError,
- command: Obj.bindFixed(this.breakOnThisError, this, error) },
+ command: Obj.bindFixed(this.breakOnThisError, this, error, context) },
Menu.optionMenu("BreakOnAllErrors", "breakOnErrors")
);
@@ -2227,7 +2227,7 @@ FirebugReps.Assert = domplate(Firebug.Rep,
{label: "CopyError", command: Obj.bindFixed(this.copyError, this, error) },
"-",
{label: "BreakOnThisError", type: "checkbox", checked: breakOnThisError,
- command: Obj.bindFixed(this.breakOnThisError, this, error) },
+ command: Obj.bindFixed(this.breakOnThisError, this, error, context) },
{label: "BreakOnAllErrors", type: "checkbox", checked: Firebug.breakOnErrors,
command: Obj.bindFixed(this.breakOnAllErrors, this, error) }
];

0 comments on commit a17e528

Please sign in to comment.