From 34af914defefe6a878b9f1c925a0b0a65b31b1b5 Mon Sep 17 00:00:00 2001 From: jensp Date: Tue, 1 Jul 2014 12:16:04 +0000 Subject: [PATCH] Removed control link in the ContactEntriesTable. The link does notthing (at the moment) and only confuses the users. git-svn-id: https://svn.libreccm.org/ccm/trunk@2731 8810af33-2d31-482b-a856-94f89814c4df --- .../ui/GenericContactEntriesTable.java | 26 ++++++++++--------- 1 file changed, 14 insertions(+), 12 deletions(-) diff --git a/ccm-cms/src/com/arsdigita/cms/contenttypes/ui/GenericContactEntriesTable.java b/ccm-cms/src/com/arsdigita/cms/contenttypes/ui/GenericContactEntriesTable.java index 32fb5ac99..09fc426d6 100644 --- a/ccm-cms/src/com/arsdigita/cms/contenttypes/ui/GenericContactEntriesTable.java +++ b/ccm-cms/src/com/arsdigita/cms/contenttypes/ui/GenericContactEntriesTable.java @@ -213,18 +213,20 @@ public class GenericContactEntriesTable extends Table implements TableActionList boolean isSelected, Object key, int row, int column) { - SecurityManager sm = Utilities.getSecurityManager(state); - GenericContact contact = (GenericContact) m_itemModel.getSelectedObject(state); - - boolean canEdit = sm.canAccess(state.getRequest(), - SecurityManager.EDIT_ITEM, - contact); - if (canEdit) { - ControlLink link = new ControlLink(value.toString()); - return link; - } else { - return new Label(value.toString()); - } + return new Label(value.toString()); + +// SecurityManager sm = Utilities.getSecurityManager(state); +// GenericContact contact = (GenericContact) m_itemModel.getSelectedObject(state); +// +// boolean canEdit = sm.canAccess(state.getRequest(), +// SecurityManager.EDIT_ITEM, +// contact); +// if (canEdit) { +// ControlLink link = new ControlLink(value.toString()); +// return link; +// } else { +// return new Label(value.toString()); +// } } }