Code

Added checkboxes to filter
[gosa.git] / include / class_MultiSelectWindow.inc
index 2423aaabbfdfb3904a8608c168313ab372345eaa..9dd83864c87abca7542ae2ccb0f2686a501b7a49 100644 (file)
@@ -360,6 +360,11 @@ class MultiSelectWindow{
           Store data also into a session var, to keep the checkboxes check after reload  */
        function save_object()
        {
+    /* Get up to date config */
+    if(isset($this->parent->config)){
+      $this->config = $this->parent->config;
+    }
+
                /* Update current base */
                if($this->DepartmentsAdded){
                        $s_action ="";
@@ -515,7 +520,7 @@ class MultiSelectWindow{
         $str.= "<input class='center' type='image' src='images/restore.png'
           alt='"._("Restore snapshot")."' name='RestoreSnapShotDialog_".base64_encode($dn)."' title='"._("Restore snapshot")."'>&nbsp;";
       } else {
-        $str.= "<img src='images/empty.png' style='width:16px;' class='center'>&nbsp;";
+        $str = "<img class='center' src='images/restore_grey.png'>&nbsp;";
       }
 
       $str.= "<input class='center' type='image' src='images/snapshot.png'