diff --git a/gosa-plugins/goto/admin/systems/goto/class_workstationService.inc b/gosa-plugins/goto/admin/systems/goto/class_workstationService.inc
index 56c7eeeb6d26821deb64d8623e3b7fecb48bebba..c7b73b6d07a7963083e5b1e2c349079a414a2eea 100644 (file)
}
//natcasesort($this->gotoXResolutions);
}else{
- msg_dialog(_("Configuration error"), msgPool::cannotReadFile($file), WARNING_DIALOG);
+ msg_dialog::display(_("Configuration error"), msgPool::cannotReadFile($file), WARNING_DIALOG);
}
}
"goFonHardware" => _("Telephone hardware"))
));
}
+
+ function PrepareForCopyPaste($source)
+ {
+ plugin::PrepareForCopyPaste($source);
+
+ if(preg_match("/\+/",$this->gotoXHsync)){
+ $this->AutoSync = true;
+ $this->gotoXHsync = preg_replace("/\+/","-",$this->gotoXHsync);
+ $this->gotoXVsync = preg_replace("/\+/","-",$this->gotoXVsync);
+ }
+ }
}
// vim:tabstop=2:expandtab:shiftwidth=2:filetype=php:syntax:ruler: