Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

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

…xt menu)
  • Loading branch information...
commit a17e52864924bc97e9c7c776a6c7ff38c7c6c879 1 parent 43adc7e
@janodvarko janodvarko authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 extension/content/firebug/chrome/reps.js
View
6 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) }
];
Please sign in to comment.
Something went wrong with that request. Please try again.