Removes <a> around the contacts entries (they looked like they should do
something, but didn't).
Patch by: jgw
Review by: bruce (desk review)
git-svn-id: https://google-web-toolkit.googlecode.com/svn/trunk@2402 8db76d5a-ed1c-0410-87a9-c151d255dfc7
diff --git a/samples/showcase/src/com/google/gwt/sample/showcase/client/content/lists/CwStackPanel.java b/samples/showcase/src/com/google/gwt/sample/showcase/client/content/lists/CwStackPanel.java
index ffc82ec..b7d7124 100644
--- a/samples/showcase/src/com/google/gwt/sample/showcase/client/content/lists/CwStackPanel.java
+++ b/samples/showcase/src/com/google/gwt/sample/showcase/client/content/lists/CwStackPanel.java
@@ -23,6 +23,7 @@
import com.google.gwt.user.client.ui.HTML;
import com.google.gwt.user.client.ui.HasVerticalAlignment;
import com.google.gwt.user.client.ui.HorizontalPanel;
+import com.google.gwt.user.client.ui.Label;
import com.google.gwt.user.client.ui.StackPanel;
import com.google.gwt.user.client.ui.Tree;
import com.google.gwt.user.client.ui.TreeImages;
@@ -171,8 +172,7 @@
VerticalPanel contactsPanel = new VerticalPanel();
contactsPanel.setSpacing(4);
for (String contact : constants.cwStackPanelContacts()) {
- contactsPanel.add(new HTML("<a href=\"javascript:void;\">" + contact
- + "</a>"));
+ contactsPanel.add(new Label(contact));
}
String contactsHeader = getHeaderString(
constants.cwStackPanelContactsHeader(), images.contactsgroup());