Index: Source/WebCore/inspector/front-end/JavaScriptSourceFrame.js |
=================================================================== |
--- Source/WebCore/inspector/front-end/JavaScriptSourceFrame.js (revision 133760) |
+++ Source/WebCore/inspector/front-end/JavaScriptSourceFrame.js (working copy) |
@@ -107,6 +107,7 @@ |
_onFormattedChanged: function(event) |
{ |
var content = /** @type {string} */ event.data.content; |
+ this._textEditor.setReadOnly(this._uiSourceCode.formatted()); |
this._innerSetContent(content); |
}, |