Bug 900763 - "edit conditional breakpoint". r=jlong

This patch updates the Source Editor contextmenu's UX. Prior to the
patch, the menu would show the option "Add conditional breakpoint" even
when there was a conditional breakpoint. Now, that option reads "Edit
conditional breakpoint".
This commit is contained in:
Jason Laster
2016-03-23 07:22:00 +01:00
parent 1a6dec1838
commit c0fc818edd
5 changed files with 39 additions and 1 deletions

View File

@@ -67,6 +67,7 @@ var DebuggerView = {
this._startup = deferred.promise;
this._initializePanes();
this._initializeEditor(deferred.resolve);
this.Toolbar.initialize();
this.Options.initialize();
this.Filtering.initialize();
@@ -80,7 +81,6 @@ var DebuggerView = {
this.GlobalSearch.initialize();
this._initializeVariablesView();
this._initializeEditor(deferred.resolve);
this._editorSource = {};
document.title = L10N.getStr("DebuggerWindowTitle");