зеркало из https://github.com/mozilla/gecko-dev.git
bug 214266 - check the "Wrap" checkbox in the find dialog by default.
This commit is contained in:
Родитель
02273f0ea0
Коммит
3c7afcfb93
|
@ -62,7 +62,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;
|
||||
dialog.wrap.checked = gFindInst.wrapFind ? gFindInst.wrapFind : findService.wrapFind;
|
||||
// Don't initialize Wrap here, we just want it to be checked.
|
||||
var findBackwards = gFindInst.findBackwards ? gFindInst.findBackwards : findService.findBackwards;
|
||||
if (findBackwards)
|
||||
dialog.rg.selectedItem = dialog.up;
|
||||
|
|
|
@ -53,7 +53,7 @@
|
|||
<hbox flex="1">
|
||||
<vbox pack="center" flex="1">
|
||||
<checkbox id="dialog.caseSensitive" label="&caseSensitiveCheckbox.label;" accesskey="&caseSensitiveCheckbox.accesskey;"/>
|
||||
<checkbox id="dialog.wrap" label="&wrapCheckbox.label;" accesskey="&wrapCheckbox.accesskey;"/>
|
||||
<checkbox id="dialog.wrap" label="&wrapCheckbox.label;" accesskey="&wrapCheckbox.accesskey;" checked="true"/>
|
||||
</vbox>
|
||||
<groupbox orient="horizontal" flex="1">
|
||||
<caption label="&direction.label;"/>
|
||||
|
|
Загрузка…
Ссылка в новой задаче