From 34775bbd070e0802cc0019c9d713812e90c517f7 Mon Sep 17 00:00:00 2001 From: hickert Date: Mon, 7 Nov 2011 10:01:32 +0000 Subject: [PATCH] Fixed problem with objects that did not get closed by a click on the menu. git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@21044 594d385d-05f5-0310-b6e9-bd551577e9d8 --- gosa-core/html/main.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/gosa-core/html/main.php b/gosa-core/html/main.php index afb381c18..880e5dca0 100644 --- a/gosa-core/html/main.php +++ b/gosa-core/html/main.php @@ -272,7 +272,8 @@ $remove_lock= FALSE; /* Check if we have changed the selected plugin */ -if($old_plugin_dir != $plugin_dir && $old_plugin_dir != ""){ +if(($old_plugin_dir != $plugin_dir && $old_plugin_dir != "") || + (isset($_GET['reset']) && $_GET['reset'] == 1)){ if (is_file("$old_plugin_dir/main.inc")){ $cleanup = $remove_lock = TRUE; require ("$old_plugin_dir/main.inc"); -- 2.30.2