Code

Fixed problem with objects that did not get closed by a click on the menu.
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 7 Nov 2011 10:01:32 +0000 (10:01 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Mon, 7 Nov 2011 10:01:32 +0000 (10:01 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@21044 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/html/main.php

index afb381c18120c7ca5370b0fa3b70de426679c07b..880e5dca0d5bfab7f9ff74a8701623ce70a8d656 100644 (file)
@@ -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");