From 50c8be4250d0c6ac26fa9cd878c2d6d0be1ad343 Mon Sep 17 00:00:00 2001 From: juanf <juanf> Date: Thu, 29 Jun 2017 14:33:23 +0000 Subject: [PATCH] SSDM-5078 : Testing having only one 'openbis' in the app path SVN: 38480 --- .../client/web/client/application/GenericConstants.java | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/GenericConstants.java b/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/GenericConstants.java index eb37b76e1e0..a2f96c02123 100644 --- a/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/GenericConstants.java +++ b/openbis/source/java/ch/systemsx/cisd/openbis/generic/client/web/client/application/GenericConstants.java @@ -16,7 +16,6 @@ package ch.systemsx.cisd.openbis.generic.client.web.client.application; -import com.google.gwt.core.client.GWT; import com.google.gwt.i18n.client.Dictionary; import ch.systemsx.cisd.openbis.generic.shared.basic.AttachmentDownloadConstants; @@ -51,8 +50,7 @@ public final class GenericConstants public final static String createServicePath(final String serviceName) { // Kind of hack. Unclear why an additional APPLICATION_NAME in productive mode is needed. - return "/" + APPLICATION_NAME + "/" + (GWT.isScript() ? APPLICATION_NAME + "/" : "") - + serviceName; + return "/" + APPLICATION_NAME + "/" + serviceName; } /** Name of the servlet to download an experiment attachment. */ -- GitLab