Bug 514861 - Find does not match characters beyond first non-matching character after FAYT failure. r=gavin

This commit is contained in:
Vladimir Vukicevic 2009-09-26 17:51:21 +02:00
parent be6f02b857
commit 95b9cffb5a

View File

@ -1185,6 +1185,8 @@
clearTimeout(this._quickFindTimeout);
this._quickFindTimeout = null;
}
this._findFailedString = null;
]]></body>
</method>
@ -1749,8 +1751,7 @@
var res;
// Ensure the stored SearchString is in sync with what we want to find
if (this._findField.value != this._browser.fastFind.searchString &&
!this.hidden)
if (this._findField.value != this._browser.fastFind.searchString)
res = this._find(this._findField.value);
else
res = this._findAgain(aFindPrevious);