Bug 605583 - Don't reopen vkb just because user switches to 'all pages' [r=mfinkle]

This commit is contained in:
Vivien Nicolas 2010-11-04 19:47:09 +01:00
parent 18e66d7307
commit 0ed36cf923

View File

@ -297,7 +297,7 @@ var BrowserUI = {
this._activePanel.close();
// The readOnly state of the field enabled/disabled the VKB
let isReadOnly = !(aPanel == AllPagesList && Util.isPortrait());
let isReadOnly = !(aPanel == AllPagesList && Util.isPortrait() && (willShowPanel || !this._edit.readOnly));
this._edit.readOnly = isReadOnly;
if (isReadOnly)
this._edit.blur();