Code

Fixed faiBranch prolbem with php4
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 12 May 2006 07:30:14 +0000 (07:30 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 12 May 2006 07:30:14 +0000 (07:30 +0000)
always returned to name selection fiexed.

git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@3311 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/admin/fai/class_faiManagement.inc

index 7bf6e75bd298d697f725a9cba71bf7e83cd22bc7..31002919893512f98a58de0e0a659b199098ded2 100644 (file)
@@ -307,7 +307,7 @@ class faiManagement extends plugin
 
     /* Abort creating new branch 
      */
-    if(isset($_POST['CancelBranchName'])){
+    if((isset($_POST['CancelBranchName'])) || (isset($_POST['CloseIFrame']))){
       $this->dispNewBranch = false;
       $this->dispNewFreeze = false;
     }
@@ -442,7 +442,7 @@ class faiManagement extends plugin
       $ldap->copy_FAI_resource_recursive($baseToUse,"ou=".$name.",".$baseToUse,$type,true);
 
       echo "<div style='width:100%;text-align:right;'><form name='form' method='post' action='?plug=".$_GET['plug']."' target='_parent'>
-              <br><input type='submit' name='back' value='"._("Continue")."'>
+              <br><input type='submit' name='CloseIFrame' value='"._("Continue")."'>
             </form></div>";
 
       /* Print footer to have valid html */