From 6f1bdc334dde37df26a671a307263568cf7d4291 Mon Sep 17 00:00:00 2001
From: tpylak <tpylak>
Date: Thu, 11 Nov 2010 23:05:40 +0000
Subject: [PATCH] LMS-1817 dynamix: do not show the broken image when there is
 no timeserie for a well

SVN: 18646
---
 .../client/application/detailviewers/WellContentDialog.java  | 5 ++---
 1 file changed, 2 insertions(+), 3 deletions(-)

diff --git a/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/client/web/client/application/detailviewers/WellContentDialog.java b/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/client/web/client/application/detailviewers/WellContentDialog.java
index 8e042e4cc8f..56d68bfee40 100644
--- a/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/client/web/client/application/detailviewers/WellContentDialog.java
+++ b/screening/source/java/ch/systemsx/cisd/openbis/plugin/screening/client/web/client/application/detailviewers/WellContentDialog.java
@@ -265,7 +265,7 @@ public class WellContentDialog extends Dialog
         if (wellLocation == null)
         {
             // images stacks cannot be obtained
-            showStaticImageDialog(contentDialog, imageDataset, channelState, viewContext);
+            contentDialog.show();
         }
         contentDialog.setDataSetCode(imageDataset.getDatasetCode());
         viewContext.getService().listImageChannelStacks(imageDataset.getDatasetCode(),
@@ -277,8 +277,7 @@ public class WellContentDialog extends Dialog
                         {
                             if (channelStackImages.size() == 0)
                             {
-                                showStaticImageDialog(contentDialog, imageDataset, channelState,
-                                        viewContext);
+                                contentDialog.show();
                             } else
                             {
                                 final WellImages wellImages = new WellImages(imageDataset, wellLocation);
-- 
GitLab