From: hickert Date: Thu, 10 Apr 2008 10:37:14 +0000 (+0000) Subject: Updated copy & paste hanling for everal classes. X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=25fca1039d90b414a570bf60a9a89d869888f119;p=gosa.git Updated copy & paste hanling for everal classes. -Reenabled abort all button git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@10315 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/gosa-core/plugins/admin/acl/class_aclManagement.inc b/gosa-core/plugins/admin/acl/class_aclManagement.inc index d8a96080d..d332ea3cb 100644 --- a/gosa-core/plugins/admin/acl/class_aclManagement.inc +++ b/gosa-core/plugins/admin/acl/class_aclManagement.inc @@ -630,6 +630,9 @@ class aclManagement extends plugin if(!is_object($this->acltabs)){ $this->DivListACL->save_object(); } + if(is_object($this->CopyPasteHandler)){ + $this->CopyPasteHandler->save_object(); + } } /* A set of disabled and therefore overloaded functions. They are diff --git a/gosa-core/plugins/admin/groups/class_groupManagement.inc b/gosa-core/plugins/admin/groups/class_groupManagement.inc index 3dbfd7db1..b33b5f81f 100644 --- a/gosa-core/plugins/admin/groups/class_groupManagement.inc +++ b/gosa-core/plugins/admin/groups/class_groupManagement.inc @@ -761,6 +761,9 @@ class groupManagement extends plugin function save_object() { $this->DivListGroup->save_object(); + if(is_object($this->CopyPasteHandler)){ + $this->CopyPasteHandler->save_object(); + } } diff --git a/gosa-core/plugins/admin/ogroups/class_ogroupManagement.inc b/gosa-core/plugins/admin/ogroups/class_ogroupManagement.inc index b2c383782..8a0fd3dc7 100644 --- a/gosa-core/plugins/admin/ogroups/class_ogroupManagement.inc +++ b/gosa-core/plugins/admin/ogroups/class_ogroupManagement.inc @@ -673,6 +673,9 @@ class ogroupManagement extends plugin function save_object() { $this->DivListOGroup->save_object(); + if(is_object($this->CopyPasteHandler)){ + $this->CopyPasteHandler->save_object(); + } } } diff --git a/gosa-core/plugins/admin/users/class_userManagement.inc b/gosa-core/plugins/admin/users/class_userManagement.inc index 7f20a5bd3..7f29d036c 100644 --- a/gosa-core/plugins/admin/users/class_userManagement.inc +++ b/gosa-core/plugins/admin/users/class_userManagement.inc @@ -1171,6 +1171,9 @@ class userManagement extends plugin if(!is_object($this->usertab)){ $this->DivListUsers->save_object(); } + if(is_object($this->CopyPasteHandler)){ + $this->CopyPasteHandler->save_object(); + } } diff --git a/gosa-plugins/gofax/gofax/blocklists/class_blocklistManagement.inc b/gosa-plugins/gofax/gofax/blocklists/class_blocklistManagement.inc index 9d5679a07..cfe2f55e1 100644 --- a/gosa-plugins/gofax/gofax/blocklists/class_blocklistManagement.inc +++ b/gosa-plugins/gofax/gofax/blocklists/class_blocklistManagement.inc @@ -403,6 +403,9 @@ class blocklist extends plugin function save_object() { $this->DivListBlocklist->save_object(); + if(is_object($this->CopyPasteHandler)){ + $this->CopyPasteHandler->save_object(); + } } diff --git a/gosa-plugins/gofon/gofon/macro/class_gofonMacroManagement.inc b/gosa-plugins/gofon/gofon/macro/class_gofonMacroManagement.inc index da1656692..007cc9a7f 100644 --- a/gosa-plugins/gofon/gofon/macro/class_gofonMacroManagement.inc +++ b/gosa-plugins/gofon/gofon/macro/class_gofonMacroManagement.inc @@ -528,6 +528,9 @@ class goFonMacro extends plugin function save_object() { $this->DivListMacro->save_object(); + if(is_object($this->CopyPasteHandler)){ + $this->CopyPasteHandler->save_object(); + } } diff --git a/gosa-plugins/goto/admin/applications/class_applicationManagement.inc b/gosa-plugins/goto/admin/applications/class_applicationManagement.inc index 314837402..d144f45c3 100644 --- a/gosa-plugins/goto/admin/applications/class_applicationManagement.inc +++ b/gosa-plugins/goto/admin/applications/class_applicationManagement.inc @@ -628,8 +628,12 @@ class applicationManagement extends plugin } } - function save_object() { + function save_object() + { $this->DivListApplication->save_object(); + if(is_object($this->CopyPasteHandler)){ + $this->CopyPasteHandler->save_object(); + } } function check() {} diff --git a/gosa-plugins/goto/admin/devices/class_deviceManagement.inc b/gosa-plugins/goto/admin/devices/class_deviceManagement.inc index 3d4b4131b..6972caefa 100644 --- a/gosa-plugins/goto/admin/devices/class_deviceManagement.inc +++ b/gosa-plugins/goto/admin/devices/class_deviceManagement.inc @@ -414,6 +414,9 @@ class deviceManagement extends plugin function save_object() { $this->DivListDevices->save_object(); + if(is_object($this->CopyPasteHandler)){ + $this->CopyPasteHandler->save_object(); + } } diff --git a/gosa-plugins/goto/admin/mimetypes/class_mimetypeManagement.inc b/gosa-plugins/goto/admin/mimetypes/class_mimetypeManagement.inc index 34b226811..44fada939 100644 --- a/gosa-plugins/goto/admin/mimetypes/class_mimetypeManagement.inc +++ b/gosa-plugins/goto/admin/mimetypes/class_mimetypeManagement.inc @@ -648,6 +648,9 @@ class mimetypeManagement extends plugin function save_object() { $this->DivListMimeTypes->save_object(); + if(is_object($this->CopyPasteHandler)){ + $this->CopyPasteHandler->save_object(); + } } function check() {} diff --git a/gosa-plugins/systems/admin/systems/class_systemManagement.inc b/gosa-plugins/systems/admin/systems/class_systemManagement.inc index 48ce658da..5aa58479f 100644 --- a/gosa-plugins/systems/admin/systems/class_systemManagement.inc +++ b/gosa-plugins/systems/admin/systems/class_systemManagement.inc @@ -1086,6 +1086,9 @@ class systems extends plugin function save_object() { $this->DivListSystem->save_object(); + if(is_object($this->CopyPasteHandler)){ + $this->CopyPasteHandler->save_object(); + } }