Author: michiel
Date: 2009-11-12 00:46:21 +0100 (Thu, 12 Nov 2009)
New Revision: 39656

Modified:
   mmbase/trunk/base-webapp/src/main/webapp/mmbase/components/core/model.svg.jsp
Log:
little point in showing types which cannot have relations

Modified: 
mmbase/trunk/base-webapp/src/main/webapp/mmbase/components/core/model.svg.jsp
===================================================================
--- 
mmbase/trunk/base-webapp/src/main/webapp/mmbase/components/core/model.svg.jsp   
    2009-11-11 23:16:30 UTC (rev 39655)
+++ 
mmbase/trunk/base-webapp/src/main/webapp/mmbase/components/core/model.svg.jsp   
    2009-11-11 23:46:21 UTC (rev 39656)
@@ -28,14 +28,8 @@
             }
          }
       }
-      if (nodemanager != null) {
-         for (String nm : set) {
-            out.println(nm  + " [URL=\"" + url + "?nodemanager=" + nm + 
"\"];");
-         }
-      } else {
-         for (NodeManager nm : cloud.getNodeManagers()) {
-            out.println(nm.getName() + " [URL=\"" + url + "?nodemanager=" + 
nm.getName() + "\"];");
-        }
+      for (String nm : set) {
+         out.println(nm  + " [URL=\"" + url + "?nodemanager=" + nm + "\"];");
       }
   %>
 

_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to