зеркало из https://github.com/mozilla/gecko-dev.git
Bug 657173 - Don't format URL bar value when the URL bar is focused. r=dao
This commit is contained in:
Родитель
9127c093f8
Коммит
932aad48a0
|
@ -183,7 +183,7 @@
|
||||||
<field name="_formattingEnabled">true</field>
|
<field name="_formattingEnabled">true</field>
|
||||||
<method name="formatValue">
|
<method name="formatValue">
|
||||||
<body><![CDATA[
|
<body><![CDATA[
|
||||||
if (!this._formattingEnabled)
|
if (!this._formattingEnabled || this.focused)
|
||||||
return;
|
return;
|
||||||
|
|
||||||
let controller = this.editor.selectionController;
|
let controller = this.editor.selectionController;
|
||||||
|
|
Загрузка…
Ссылка в новой задаче