summaryrefslogtreecommitdiffstats
path: root/WebCore/inspector/front-end/WatchExpressionsSidebarPane.js
diff options
context:
space:
mode:
Diffstat (limited to 'WebCore/inspector/front-end/WatchExpressionsSidebarPane.js')
-rw-r--r--WebCore/inspector/front-end/WatchExpressionsSidebarPane.js6
1 files changed, 5 insertions, 1 deletions
diff --git a/WebCore/inspector/front-end/WatchExpressionsSidebarPane.js b/WebCore/inspector/front-end/WatchExpressionsSidebarPane.js
index 44063a3..a01046b 100644
--- a/WebCore/inspector/front-end/WatchExpressionsSidebarPane.js
+++ b/WebCore/inspector/front-end/WatchExpressionsSidebarPane.js
@@ -240,7 +240,11 @@ WebInspector.WatchExpressionTreeElement.prototype = {
this.listItemElement.addStyleClass("editing-sub-part");
- WebInspector.startEditing(this.nameElement, this.editingCommitted.bind(this), this.editingCancelled.bind(this), context);
+ WebInspector.startEditing(this.nameElement, {
+ context: context,
+ commitHandler: this.editingCommitted.bind(this),
+ cancelHandler: this.editingCancelled.bind(this)
+ });
},
editingCancelled: function(element, context)