From c9fd56df75bc4057f72b4087b78cbfd2fc72d4fa Mon Sep 17 00:00:00 2001 From: Arturo Gonzalez Date: Fri, 17 Mar 2017 14:22:04 +0100 Subject: [PATCH] Fixed errors in um online open --- pandora_console/include/functions_update_manager.php | 4 +--- pandora_console/include/javascript/update_manager.js | 2 ++ 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pandora_console/include/functions_update_manager.php b/pandora_console/include/functions_update_manager.php index e46258fb74..43efd7b0e4 100755 --- a/pandora_console/include/functions_update_manager.php +++ b/pandora_console/include/functions_update_manager.php @@ -609,8 +609,6 @@ function update_manager_extract_package() { $path_package = $config['attachment_store'] . "/downloads/last_package.tgz"; - - $full_path = $config['attachment_store'] . "/downloads/unix"; ob_start(); @@ -680,7 +678,7 @@ function update_manager_extract_package() { function update_manager_starting_update() { global $config; - $full_path = $config['attachment_store'] . "/downloads/unix"; + $full_path = $config['attachment_store'] . "/downloads/"; $homedir = $config['homedir']; diff --git a/pandora_console/include/javascript/update_manager.js b/pandora_console/include/javascript/update_manager.js index 9c032ba3cc..9fa5fce8c1 100644 --- a/pandora_console/include/javascript/update_manager.js +++ b/pandora_console/include/javascript/update_manager.js @@ -1405,6 +1405,8 @@ function install_free_package(package, version, homeurl) { $('#success_pkg').html(dialog_success_pkg_text); $('#success_pkg').dialog('open'); + $("#pkg_version").text(version); + $("#box_online .loading").hide(); $("#box_online .progressbar").hide(); $("#box_online .content").html(data['message']);