зеркало из https://github.com/mozilla/pjs.git
Fix bug 42957 - make enter/return work properly in the XPInstall dialog. r=dveditz a=dveditz
This commit is contained in:
Родитель
0cd6092217
Коммит
61111b158c
|
@ -56,7 +56,7 @@ function onLoad()
|
||||||
var moduleName;
|
var moduleName;
|
||||||
var URL;
|
var URL;
|
||||||
var numberOfDialogTreeElements;
|
var numberOfDialogTreeElements;
|
||||||
|
doSetOKCancel(onOk, cancel);
|
||||||
param = window.arguments[0].QueryInterface( Components.interfaces.nsIDialogParamBlock );
|
param = window.arguments[0].QueryInterface( Components.interfaces.nsIDialogParamBlock );
|
||||||
if( !param )
|
if( !param )
|
||||||
{
|
{
|
||||||
|
|
|
@ -74,10 +74,7 @@ Contributor(s):
|
||||||
</box>
|
</box>
|
||||||
|
|
||||||
<separator align="center" class="groove" flex="100%"/>
|
<separator align="center" class="groove" flex="100%"/>
|
||||||
<box class="selection" id="okcancelBox">
|
<box class="selection" id="okCancelButtonsRight"/>
|
||||||
<button class="dialog push" id="start" default="true" value="&dialogOk.label;" onclick="onOk();"/>
|
|
||||||
<button class="dialog push" id="cancel" value="&dialogCancel.label;" onclick="cancel();" />
|
|
||||||
</box>
|
|
||||||
</box>
|
</box>
|
||||||
|
|
||||||
|
|
||||||
|
|
Загрузка…
Ссылка в новой задаче