Bug 657173 - Don't format URL bar value when the URL bar is focused. r=dao

This commit is contained in:
Gavin Sharp 2011-05-14 16:38:59 -07:00
Родитель 9127c093f8
Коммит 932aad48a0
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

@ -183,7 +183,7 @@
<field name="_formattingEnabled">true</field>
<method name="formatValue">
<body><![CDATA[
if (!this._formattingEnabled)
if (!this._formattingEnabled || this.focused)
return;
let controller = this.editor.selectionController;