From 10c16952d50122c08aed9f9c7adf349826da4938 Mon Sep 17 00:00:00 2001 From: RaNaN Date: Sat, 24 Sep 2011 20:22:49 +0200 Subject: improved speed for high bandwith connections --- module/web/templates/default/package_ui.js | 1 + module/web/webinterface.py | 3 +-- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'module/web') diff --git a/module/web/templates/default/package_ui.js b/module/web/templates/default/package_ui.js index 4913f1543..3aee766ac 100644 --- a/module/web/templates/default/package_ui.js +++ b/module/web/templates/default/package_ui.js @@ -315,6 +315,7 @@ var Package = new Class({ }.bind(this), onFailure: indicateFail }).send(); + hide_pack(); }, restartPackage: function(event) { diff --git a/module/web/webinterface.py b/module/web/webinterface.py index d6b7f8438..f6ad35138 100644 --- a/module/web/webinterface.py +++ b/module/web/webinterface.py @@ -62,8 +62,7 @@ LOG_ROOT = config.get('log', 'log_folder') PREFIX = config.get('webinterface', 'prefix') if PREFIX: - if PREFIX.endswith("/"): - PREFIX = PREFIX[:1] + PREFIX = PREFIX.rstrip("/") if not PREFIX.startswith("/"): PREFIX = "/" + PREFIX -- cgit v1.2.3