From: hickert Date: Wed, 22 Nov 2006 10:41:22 +0000 (+0000) Subject: Fixed copy vars X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=47e5ded90380d1900aced70ac8f8a14e5fb5fc12;p=gosa.git Fixed copy vars git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@5190 594d385d-05f5-0310-b6e9-bd551577e9d8 --- diff --git a/plugins/admin/mimetypes/class_mimetypeGeneric.inc b/plugins/admin/mimetypes/class_mimetypeGeneric.inc index 851354759..af3c768f6 100644 --- a/plugins/admin/mimetypes/class_mimetypeGeneric.inc +++ b/plugins/admin/mimetypes/class_mimetypeGeneric.inc @@ -44,7 +44,8 @@ class mimetype extends plugin var $dialog = NULL; /* These vars will be copied too, if you use copy&paste mode */ - var $CopyPasteVars = array("use_gotoMimeFilePattern","use_gotoMimeApplication","use_gotoMimeEmbeddedApplication","iconData"); + var $CopyPasteVars = array("use_gotoMimeFilePattern","use_gotoMimeApplication","use_gotoMimeEmbeddedApplication","iconData", + "gotoMimeLeftClickAction_I","gotoMimeLeftClickAction_E","gotoMimeLeftClickAction_Q","use_gotoMimeIcon"); /* Select options */ var $MimeGroups = array("application","audio","chemical","image","inode","message","model", @@ -53,7 +54,6 @@ class mimetype extends plugin /* Orig_Dn is used to verify if this object is new or only edited */ var $orig_dn = ""; - function mimetype($config,$dn= NULL) { plugin::plugin ($config, $dn); @@ -687,6 +687,13 @@ class mimetype extends plugin )); } + + function PrepareForCopyPaste($source) + { + plugin::PrepareForCopyPaste($source); + $this->gotoMimeIcon = $this->iconData; + $this->use_gotoMimeIcon = $source->use_gotoMimeIcon; + } } // vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: ?>