diff --git a/source/java/org/alfresco/web/config/ClientConfigElement.java b/source/java/org/alfresco/web/config/ClientConfigElement.java index 28c1fa1038..85ebd592a3 100644 --- a/source/java/org/alfresco/web/config/ClientConfigElement.java +++ b/source/java/org/alfresco/web/config/ClientConfigElement.java @@ -62,7 +62,7 @@ public class ClientConfigElement extends ConfigElementAdapter private String helpUrl = null; private String editLinkType = "http"; private String homeSpacePermission = null; - private boolean ajaxEnabled = false; + private boolean nodeSummaryEnabled = true; private String initialLocation = "myalfresco"; private ExpiringValueCache wcmDomain = new ExpiringValueCache(1000*10L); private ExpiringValueCache wcmPort = new ExpiringValueCache(1000*10L); @@ -190,9 +190,9 @@ public class ClientConfigElement extends ConfigElementAdapter combinedElement.setFromEmailAddress(newElement.getFromEmailAddress()); } - if (newElement.isAjaxEnabled() != combinedElement.isAjaxEnabled()) + if (newElement.isNodeSummaryEnabled() != combinedElement.isNodeSummaryEnabled()) { - combinedElement.setAjaxEnabled(newElement.isAjaxEnabled()); + combinedElement.setNodeSummaryEnabled(newElement.isNodeSummaryEnabled()); } if (newElement.getInitialLocation() != null && @@ -466,19 +466,19 @@ public class ClientConfigElement extends ConfigElementAdapter /** * @return Returns whether AJAX support is enabled in the client */ - public boolean isAjaxEnabled() + public boolean isNodeSummaryEnabled() { - return this.ajaxEnabled; + return this.nodeSummaryEnabled; } /** * Sets whether AJAX support is enabled in the client * - * @param ajaxEnabled + * @param nodeSummaryEnabled */ - /*package*/ void setAjaxEnabled(boolean ajaxEnabled) + /*package*/ void setNodeSummaryEnabled(boolean ajaxEnabled) { - this.ajaxEnabled = ajaxEnabled; + this.nodeSummaryEnabled = ajaxEnabled; } /** diff --git a/source/java/org/alfresco/web/config/ClientElementReader.java b/source/java/org/alfresco/web/config/ClientElementReader.java index 1e51be00af..7ec50ed51d 100644 --- a/source/java/org/alfresco/web/config/ClientElementReader.java +++ b/source/java/org/alfresco/web/config/ClientElementReader.java @@ -48,7 +48,7 @@ public class ClientElementReader implements ConfigElementReader public static final String ELEMENT_HOMESPACEPERMISSION = "home-space-permission"; public static final String ELEMENT_FROMEMAILADDRESS = "from-email-address"; public static final String ELEMENT_SHELFVISIBLE = "shelf-visible"; - public static final String ELEMENT_AJAX_ENABLED = "ajax-enabled"; + public static final String ELEMENT_NODESUMMARY_ENABLED = "node-summary-enabled"; public static final String ELEMENT_INITIALLOCATION = "initial-location"; public static final String ELEMENT_DEFAULTHOMESPACEPATH = "default-home-space-path"; public static final String ELEMENT_CLIPBOARDSTATUS = "clipboard-status-visible"; @@ -161,10 +161,10 @@ public class ClientElementReader implements ConfigElementReader } // get the ajax enabled flag - Element ajaxEnabled = element.element(ELEMENT_AJAX_ENABLED); + Element ajaxEnabled = element.element(ELEMENT_NODESUMMARY_ENABLED); if (ajaxEnabled != null) { - configElement.setAjaxEnabled(Boolean.parseBoolean(ajaxEnabled.getTextTrim())); + configElement.setNodeSummaryEnabled(Boolean.parseBoolean(ajaxEnabled.getTextTrim())); } // get the initial location diff --git a/source/java/org/alfresco/web/ui/repo/component/UINodeInfo.java b/source/java/org/alfresco/web/ui/repo/component/UINodeInfo.java index 1c494fee16..ae68eee4ef 100644 --- a/source/java/org/alfresco/web/ui/repo/component/UINodeInfo.java +++ b/source/java/org/alfresco/web/ui/repo/component/UINodeInfo.java @@ -37,8 +37,6 @@ import org.alfresco.web.ui.common.component.SelfRenderingComponent; /** * JSF component that displays information about a node. - *

- * The node to show information on * * @author gavinc */ @@ -48,6 +46,7 @@ public class UINodeInfo extends SelfRenderingComponent protected Object value = null; + // ------------------------------------------------------------------------------ // Component Impl @@ -82,7 +81,7 @@ public class UINodeInfo extends SelfRenderingComponent if (!isRendered()) return; // if AJAX is disabled don't render anything - if (Application.getClientConfig(context).isAjaxEnabled()) + if (Application.getClientConfig(context).isNodeSummaryEnabled()) { ResponseWriter out = context.getResponseWriter(); @@ -116,12 +115,13 @@ public class UINodeInfo extends SelfRenderingComponent if (!isRendered()) return; // if AJAX is disabled don't render anything - if (Application.getClientConfig(context).isAjaxEnabled()) + if (Application.getClientConfig(context).isNodeSummaryEnabled()) { context.getResponseWriter().write(""); } } + // ------------------------------------------------------------------------------ // Strongly typed component property accessors diff --git a/source/web/images/icons/popup.gif b/source/web/images/icons/popup.gif index 80918ad287..2c880ae590 100644 Binary files a/source/web/images/icons/popup.gif and b/source/web/images/icons/popup.gif differ diff --git a/source/web/jsp/browse/browse.jsp b/source/web/jsp/browse/browse.jsp index becac99063..06a24ae39d 100644 --- a/source/web/jsp/browse/browse.jsp +++ b/source/web/jsp/browse/browse.jsp @@ -281,7 +281,7 @@ - + @@ -296,7 +296,7 @@ - + @@ -311,7 +311,7 @@ - + @@ -423,7 +423,7 @@ - + @@ -435,7 +435,7 @@ - + @@ -447,7 +447,7 @@ - +