fhiiqm/raumarbgr_ed.php
changeset 34 fc60ef80a7ad
parent 33 f1a8785434e4
child 39 4ce411ed28b6
--- a/fhiiqm/raumarbgr_ed.php	Fri Dec 21 15:31:50 2012 +0100
+++ b/fhiiqm/raumarbgr_ed.php	Wed Feb 27 09:43:08 2013 +0100
@@ -68,7 +68,10 @@
               var opt="<option value='-1'></option>";
               for (var key in arr)  
               {
-                opt = opt.concat("<option value='",key,"'>",arr[key],"</option>\n" );
+                if (arr[key].indexOf("inaktiv")>0)
+                    opt = opt.concat("<option class='red' value='",key,"'>",arr[key],"</option>\n" );
+                else
+                    opt = opt.concat("<option value='",key,"'>",arr[key],"</option>\n" );
               }
               opt += "</select>\n";
               if (divId == 'addr')