Bug 391414 - The restart button is no longer initially hidden during startup update notification. r=sspitzer

git-svn-id: svn://10.0.0.236/trunk@232881 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
rob_strong%exchangecode.com 2007-08-22 20:26:06 +00:00
parent 60a1445a9a
commit cfe51f9ef0
2 changed files with 7 additions and 5 deletions

View File

@ -300,8 +300,10 @@ function showView(aView) {
showInstallFile = false;
showCheckUpdatesAll = false;
showInstallUpdatesAll = true;
if (gUpdatesOnly)
if (gUpdatesOnly) {
showSkip = true;
showRestartApp = false;
}
bindingList = [ ["aboutURL", "?aboutURL"],
["availableUpdateURL", "?availableUpdateURL"],
["availableUpdateVersion", "?availableUpdateVersion"],

View File

@ -208,10 +208,6 @@
tooltiptextaddons="&cmd.checkUpdatesAllAddon.tooltip;"
tooltiptextthemes="&cmd.checkUpdatesAllTheme.tooltip;"
command="cmd_checkUpdatesAll"/>
<button id="skipDialogButton" label="&cmd.skip.label;"
accesskey="&cmd.skip.accesskey;"
tooltiptext="&cmd.skip.tooltip;"
command="cmd_close"/>
<spacer flex="1"/>
<label id="getMore" class="text-link"
onclick="openURL(this.getAttribute('getMoreURL'));"
@ -226,6 +222,10 @@
accesskey="&cmd.continue.accesskey;"
tooltiptext="&cmd.continue.tooltip;"
command="cmd_continue"/>
<button id="skipDialogButton" label="&cmd.skip.label;"
accesskey="&cmd.skip.accesskey;"
tooltiptext="&cmd.skip.tooltip;"
command="cmd_close"/>
</hbox>
<hbox id="resizerBox" style="min-width:1px;">
<spacer flex="1"/>