mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-10 20:05:49 +00:00
Bug 387756 Unable to turn off the wrap setting in the find dialog r=gavin
This commit is contained in:
parent
5dc4edef75
commit
db64d03233
@ -80,7 +80,7 @@ function fillDialog()
|
||||
// this is necessary for window.find()
|
||||
dialog.findKey.value = gFindInst.searchString ? gFindInst.searchString : findService.searchString;
|
||||
dialog.caseSensitive.checked = gFindInst.matchCase ? gFindInst.matchCase : findService.matchCase;
|
||||
// Don't initialize Wrap here, we just want it to be checked.
|
||||
dialog.wrap.checked = gFindInst.wrapFind ? gFindInst.wrapFind : findService.wrapFind;
|
||||
var findBackwards = gFindInst.findBackwards ? gFindInst.findBackwards : findService.findBackwards;
|
||||
if (findBackwards)
|
||||
dialog.rg.selectedItem = dialog.up;
|
||||
|
@ -48,7 +48,7 @@
|
||||
|
||||
nsFindService::nsFindService()
|
||||
: mFindBackwards(PR_FALSE)
|
||||
, mWrapFind(PR_FALSE)
|
||||
, mWrapFind(PR_TRUE)
|
||||
, mEntireWord(PR_FALSE)
|
||||
, mMatchCase(PR_FALSE)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user