Code

Replace {t}Delete{/t} with {msgPool type=delButton}
[gosa.git] / gosa-plugins / systems / admin / systems / class_systemManagement.inc
index fdf0fe63b48d21ac358c9016a84aaec966c39b35..b1f33c1b94cc54845aaa48774812e569175d0b45 100644 (file)
@@ -543,7 +543,6 @@ class systems extends plugin
        */
       if(isset($_POST['save_event_dialog']) || $this->systab->get_type() == TRIGGERED_EVENT){
         $o_queue = new gosaSupportDaemon();
-        $this->systab->set_type(TRIGGERED_EVENT);
         $o_queue->append($this->systab);
         if($o_queue->is_error()){
           msg_dialog::display(_("Daemon"),sprintf(_("Something went wrong while talking to the daemon: %s."),
@@ -940,7 +939,7 @@ class systems extends plugin
       } else {
         /* Ok. There seem to be errors regarding to the tab data,
            show message and continue as usual. */
-        show_errors($message);
+        msgDialog::displayChecks($message);
       }
     }