Bug 719783 - In the Rule View, pressing Escape close the whole Inspector. r=dcamp

This commit is contained in:
Paul Rouget 2012-01-20 16:36:35 +01:00
parent 174ef593dc
commit ca985b5303

View File

@ -1310,6 +1310,7 @@ InplaceEditor.prototype = {
prevent = true;
this.cancelled = true;
this.input.blur();
aEvent.stopPropagation();
} else if (aEvent.keyCode === Ci.nsIDOMKeyEvent.DOM_VK_SPACE) {
// No need for leading spaces here. This is particularly
// noticable when adding a property: it's very natural to type