summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 4c27683)
raw | patch | inline | side by side (parent: 4c27683)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 20 Apr 2010 13:23:39 +0000 (13:23 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Tue, 20 Apr 2010 13:23:39 +0000 (13:23 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@17741 594d385d-05f5-0310-b6e9-bd551577e9d8
diff --git a/gosa-core/plugins/admin/departments/class_department.inc b/gosa-core/plugins/admin/departments/class_department.inc
index e9297748f3f6cd99067cce64c4eeb200cdceaa66..c44ee7a996a8a2fd2d97a0163268053d391c6400 100644 (file)
}
if($this->dialog && count($this->dialog->detectPostActions())){
$users = $this->dialog->detectPostActions();
- if(isset($users['action']) && $users['action'] =='edit' && isset($users['targets']) && count($users['targets'])){
+ if(isset($users['action']) && $users['action'] =='userSelected' && isset($users['targets']) && count($users['targets'])){
$headpage = $this->dialog->getHeadpage();
$dn = $users['targets'][0];
diff --git a/gosa-core/plugins/admin/groups/singleUserSelect/class_singleUserSelect.inc b/gosa-core/plugins/admin/groups/singleUserSelect/class_singleUserSelect.inc
index 5cd22d8e0f167b24c6098e751a9101e20ae4dd21..f17008ce81bdfd921cd408679ecc938c46adbd1e 100644 (file)
function detectPostActions()
{
$action = management::detectPostActions();
- if(isset($_POST['add_users_save'])) $action['action'] = "edit";
+ if(isset($_POST['add_users_save'])) $action['action'] = "userSelected";
return($action);;
}
}
diff --git a/gosa-core/plugins/personal/generic/class_user.inc b/gosa-core/plugins/personal/generic/class_user.inc
index 55c9e354b448b5bac5f87b27293b8351f7f1ab0e..b44b93ba26da464427546204fcab2dd7227b3399 100644 (file)
}
if($this->dialog && $this->dialog instanceOf singleUserSelect && count($this->dialog->detectPostActions())){
$users = $this->dialog->detectPostActions();
- if(isset($users['action']) && $users['action'] =='edit' && isset($users['targets']) && count($users['targets'])){
+ if(isset($users['action']) && $users['action'] =='userSelected' && isset($users['targets']) && count($users['targets'])){
$headpage = $this->dialog->getHeadpage();
$dn = $users['targets'][0];
$attrs = $headpage->getEntry($dn);