From 2336f59f9aa3792843938c8bf041ca67d767cb96 Mon Sep 17 00:00:00 2001 From: cdujeu Date: Mon, 8 Sep 2014 10:05:10 +0200 Subject: [PATCH] Make update window bigger --- core/src/plugins/action.updater/manifest.xml | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/core/src/plugins/action.updater/manifest.xml b/core/src/plugins/action.updater/manifest.xml index 1839b2f1ef..ac2ffbdf7c 100644 --- a/core/src/plugins/action.updater/manifest.xml +++ b/core/src/plugins/action.updater/manifest.xml @@ -32,6 +32,7 @@ var conn = new Connexion(); $(oForm).down('div[id="upgrade_checking"]').show(); $(oForm).down('div[id="upgrade_checking"]').update('Checking for available upgrades'); + fitHeightToBottom($(oForm), null, 40); conn.addParameter("get_action", "get_upgrade_path"); conn.onComplete = function(transport){ var response = transport.responseJSON; @@ -42,11 +43,12 @@ var pList = response.packages.join(" "); $(oForm).down('div[id="upgrade_status"]').show(); $(oForm).down('div[id="upgrade_status"]').insert({top:'The following packages will be downloaded and installed :
'}); + var stepsContainer = $(oForm).down('iframe[id="upgrade_steps"]'); + fitHeightToBottom(stepsContainer, null, 40); if(response.latest_note){ - $(oForm).down('iframe[id="upgrade_steps"]').src = response.latest_note; + stepsContainer.src = response.latest_note; } var startButton = $(oForm).down('div[id="start_upgrade_button"]'); - var stepsContainer = $(oForm).down('iframe[id="upgrade_steps"]'); startButton.observe("click", function(){ if(window.confirm('Are you sure you want to perform the upgrade?')){ var conn = new Connexion(); @@ -69,7 +71,7 @@ +