summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: b938755)
raw | patch | inline | side by side (parent: b938755)
author | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 24 Jun 2009 08:48:26 +0000 (08:48 +0000) | ||
committer | psc <psc@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 24 Jun 2009 08:48:26 +0000 (08:48 +0000) |
Do not handle field seperators different in _get_next
and _get_last functions, which are used when moving
items around. This fixes several problems with moving items
around.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13784 594d385d-05f5-0310-b6e9-bd551577e9d8
and _get_last functions, which are used when moving
items around. This fixes several problems with moving items
around.
git-svn-id: https://oss.gonicus.de/repositories/gosa/branches/2.6-lhm@13784 594d385d-05f5-0310-b6e9-bd551577e9d8
trunk/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc | patch | blob | history |
diff --git a/trunk/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc b/trunk/gosa-plugins/goto/admin/groups/apps/class_groupApplication.inc
index a6cb616bb099028804c6dd97c8b49f9a7a642824..5e3b15c7ed3a9b8a42ee46e592ae4af8654b637a 100644 (file)
$to = $this->_get_next($to,$o_from['PARENT']);
$o_to = $all[$to];
}
-
+
/* Target is ENTRY && same BASE, just switch */
if($o_to['PARENT'] == $o_from['PARENT'] ){
$parent = $all[$o_to['PARENT']];
break;
}
}
- while(isset($all_l[$i]) && !in_array($all_l[$i]['TYPE'],array("ENTRY","FOLDER","CLOSE","OPEN")) && $i < count($all_l)){
+ while(isset($all_l[$i]) && !in_array($all_l[$i]['TYPE'],array("SEPERATOR","ENTRY","FOLDER","CLOSE","OPEN")) && $i < count($all_l)){
$i++;
}
$i++;
}
}else{
- while(isset($all_l[$i]) && !in_array($all_l[$i]['TYPE'],array("ENTRY","FOLDER")) && $i < count($all_l)){
+ while(isset($all_l[$i]) && !in_array($all_l[$i]['TYPE'],array("SEPERATOR","ENTRY","FOLDER")) && $i < count($all_l)){
$i++;
}
}
return($all_l[$i]['UNIQID']);
}
-
-
-
/* !\brief Handle ui POSTS, like sort up/down/delete
*/
function save_object()