Code

Fixed problem with not clickable buttons in fai package error msgs
[gosa.git] / plugins / admin / fai / class_faiManagement.inc
index 52a9bbd122956820a166ad816599cef522a552b6..1922b2aadf0e27d2ce4033b9dec16bf8a9eef020 100644 (file)
@@ -56,6 +56,8 @@ class faiManagement extends plugin
   var $dispNewFreeze= false;
 
   var $DivListFai;
+  var $start_pasting_copied_objects = FALSE;
+  var $CopyPasteHandler = FALSE;
 
        /* construction/reconstruction 
         */
@@ -100,7 +102,8 @@ class faiManagement extends plugin
                     "/create_variable/i"=>"new_variable",  "/create_template/i"=>"new_template",
                     "/create_package/i"=>"new_package",    "/create_profile/i"=>"new_profile",
                     "/edit_continue/"=>"select_class_name_finished",
-  
+                    "/^multiple_copy_fai/" => "copy_multiple", 
+                    "/^multiple_cut_fai/" => "cut_multiple", 
                     "/^remove_multiple_fai_objects/" => "del_multiple");
 
                foreach($_POST as $name => $value){
@@ -529,7 +532,7 @@ class faiManagement extends plugin
          */
         $ldap->cat($mimesrc,array("dn")) ;
         if($ldap->count()){
-          $ldap->cd ($appdst);
+          $ldap->cd ($mimedst);
           $ldap->recursive_remove();
           $ldap->cd ($this->config->current['BASE']);
           $ldap->copy_FAI_resource_recursive($mimesrc,$mimedst,$NewReleaseName,$type,true);