Hardcoded pithos site url
authorChristos Stathis <chstath@ebs.gr>
Fri, 6 May 2011 13:29:02 +0000 (16:29 +0300)
committerChristos Stathis <chstath@ebs.gr>
Fri, 6 May 2011 13:29:02 +0000 (16:29 +0300)
web_client/src/gr/grnet/pithos/web/client/TopPanel.java

index b2f2a3f..fea03dc 100644 (file)
@@ -180,12 +180,7 @@ public class TopPanel extends Composite {
 
                outer.add(loading);
 
-               Configuration conf = (Configuration) GWT.create(Configuration.class);
-        String path = Window.Location.getPath();
-        String baseUrl = GWT.getModuleBaseURL();
-        String homeUrl = baseUrl.substring(0, baseUrl.indexOf(path));
-               HTML logos = new HTML("<table><tr><td><a href='" + homeUrl +
-                                       "' target='pithos'>" +  AbstractImagePrototype.create(images.gssLogo()).getHTML() +
+               HTML logos = new HTML("<table><tr><td><a href='http://pithos.grnet.gr/pithos' target='pithos'>" +       AbstractImagePrototype.create(images.gssLogo()).getHTML() +
                                        "</a><a href='http://www.grnet.gr/' " + "target='grnet'>" +
                                        AbstractImagePrototype.create(images.grnetLogo()).getHTML()+"</a></td></tr></table>");
                outer.add(logos);