зеркало из 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 URL;
|
||||
var numberOfDialogTreeElements;
|
||||
|
||||
doSetOKCancel(onOk, cancel);
|
||||
param = window.arguments[0].QueryInterface( Components.interfaces.nsIDialogParamBlock );
|
||||
if( !param )
|
||||
{
|
||||
|
|
|
@ -74,10 +74,7 @@ Contributor(s):
|
|||
</box>
|
||||
|
||||
<separator align="center" class="groove" flex="100%"/>
|
||||
<box class="selection" id="okcancelBox">
|
||||
<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 class="selection" id="okCancelButtonsRight"/>
|
||||
</box>
|
||||
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче