diff --git a/config/alfresco/messages/webclient.properties b/config/alfresco/messages/webclient.properties index 87b9078102..9dc5eeb5f6 100644 --- a/config/alfresco/messages/webclient.properties +++ b/config/alfresco/messages/webclient.properties @@ -1203,7 +1203,9 @@ checking_links_status=Checked 0 links in -
+
@@ -506,7 +506,7 @@ a.spaceBreadcrumbLink:link, a.spaceBreadcrumbLink:visited, a.spaceBreadcrumbLink font-size: 12px; } -#docUpdatePanel +#spaceUpdateDocPanel { position: absolute; border: 1px solid #CCD4DB; diff --git a/config/alfresco/web-client-config-dialogs.xml b/config/alfresco/web-client-config-dialogs.xml index 2bd775c272..751c8d77ff 100644 --- a/config/alfresco/web-client-config-dialogs.xml +++ b/config/alfresco/web-client-config-dialogs.xml @@ -243,8 +243,7 @@ @@ -311,8 +310,8 @@ - diff --git a/config/alfresco/web-client-config.xml b/config/alfresco/web-client-config.xml index c268d5f412..a86cfe4606 100644 --- a/config/alfresco/web-client-config.xml +++ b/config/alfresco/web-client-config.xml @@ -289,6 +289,10 @@ + + + diff --git a/source/java/org/alfresco/web/bean/content/BaseContentWizard.java b/source/java/org/alfresco/web/bean/content/BaseContentWizard.java index 21760b214d..0ea7933063 100644 --- a/source/java/org/alfresco/web/bean/content/BaseContentWizard.java +++ b/source/java/org/alfresco/web/bean/content/BaseContentWizard.java @@ -54,6 +54,7 @@ import org.alfresco.web.bean.wizard.BaseWizardBean; import org.alfresco.web.data.IDataContainer; import org.alfresco.web.data.QuickSort; import org.alfresco.web.ui.common.Utils; +import org.alfresco.web.ui.repo.component.UICharsetSelector; import org.apache.commons.logging.Log; import org.apache.commons.logging.LogFactory; @@ -167,6 +168,27 @@ public abstract class BaseContentWizard extends BaseWizardBean */ public String getEncoding() { + if (encoding == null) + { + ConfigService configSvc = Application.getConfigService(FacesContext.getCurrentInstance()); + Config config = configSvc.getConfig("Content Wizards"); + if (config != null) + { + ConfigElement defaultEncCfg = config.getConfigElement("default-encoding"); + if (defaultEncCfg != null) + { + String value = defaultEncCfg.getValue(); + if (value != null) + { + encoding = value.trim(); + } + } + } + if (encoding == null || encoding.length() == 0) + { + encoding = Charset.defaultCharset().name(); + } + } return encoding; } @@ -270,14 +292,7 @@ public abstract class BaseContentWizard extends BaseWizardBean public List getEncodings() { - Map availableCharsets = Charset.availableCharsets(); - List items = new ArrayList(availableCharsets.size()); - for (Charset charset : availableCharsets.values()) - { - SelectItem item = new SelectItem(charset.name(), charset.displayName()); - items.add(item); - } - return items; + return UICharsetSelector.getCharsetEncodingList(); } /** @@ -437,7 +452,7 @@ public abstract class BaseContentWizard extends BaseWizardBean ContentWriter writer = contentService.getWriter(fileNodeRef, ContentModel.PROP_CONTENT, true); // set the mimetype and encoding writer.setMimetype(this.mimeType); - writer.setEncoding(this.encoding); + writer.setEncoding(getEncoding()); if (fileContent != null) { writer.putContent(fileContent); diff --git a/source/java/org/alfresco/web/bean/wcm/AVMUtil.java b/source/java/org/alfresco/web/bean/wcm/AVMUtil.java index a73a0b62b4..d76e11f937 100644 --- a/source/java/org/alfresco/web/bean/wcm/AVMUtil.java +++ b/source/java/org/alfresco/web/bean/wcm/AVMUtil.java @@ -1075,7 +1075,7 @@ public final class AVMUtil } // Component Separator. - private static final String STORE_SEPARATOR = "--"; + /*package*/ static final String STORE_SEPARATOR = "--"; // names of the stores representing the layers for an AVM website //XXXarielb this should be private diff --git a/source/java/org/alfresco/web/bean/wcm/LinkValidationDialog.java b/source/java/org/alfresco/web/bean/wcm/LinkValidationDialog.java index f84c091c1f..8137f4ca40 100644 --- a/source/java/org/alfresco/web/bean/wcm/LinkValidationDialog.java +++ b/source/java/org/alfresco/web/bean/wcm/LinkValidationDialog.java @@ -25,6 +25,7 @@ package org.alfresco.web.bean.wcm; import java.io.Serializable; +import java.text.MessageFormat; import java.util.HashMap; import java.util.Map; @@ -70,6 +71,7 @@ public class LinkValidationDialog extends BaseDialogBean private String webapp; private String webappPath; private String initialTab; + private String title; private NodeRef webappPathRef; private boolean runningReport = false; private boolean update = false; @@ -118,6 +120,28 @@ public class LinkValidationDialog extends BaseDialogBean this.compareToStaging = true; } + // work out title for dialog by examining store type + FacesContext context = FacesContext.getCurrentInstance(); + if (this.avmService.getStoreProperty(this.store, + SandboxConstants.PROP_SANDBOX_AUTHOR_MAIN) != null) + { + String pattern = Application.getMessage(context, "link_validaton_dialog_title_user"); + String user = this.store.substring( + this.store.indexOf(AVMUtil.STORE_SEPARATOR)+AVMUtil.STORE_SEPARATOR.length()); + this.title = MessageFormat.format(pattern, + new Object[] {user}); + } + else if (this.avmService.getStoreProperty(this.store, + SandboxConstants.PROP_SANDBOX_STAGING_MAIN) != null) + { + this.title = Application.getMessage(context, "link_validaton_dialog_title_staging"); + } + else if (this.avmService.getStoreProperty(this.store, + SandboxConstants.PROP_SANDBOX_WORKFLOW_MAIN) != null) + { + this.title = Application.getMessage(context, "link_validaton_dialog_title_workflow"); + } + if (logger.isDebugEnabled()) { if (this.runningReport) @@ -155,6 +179,12 @@ public class LinkValidationDialog extends BaseDialogBean return null; } + @Override + public String getContainerTitle() + { + return this.title; + } + @Override public boolean getFinishButtonDisabled() { diff --git a/source/java/org/alfresco/web/bean/wcm/ManageVerifyBrokenLinksTaskDialog.java b/source/java/org/alfresco/web/bean/wcm/ManageLinkValidationTaskDialog.java similarity index 93% rename from source/java/org/alfresco/web/bean/wcm/ManageVerifyBrokenLinksTaskDialog.java rename to source/java/org/alfresco/web/bean/wcm/ManageLinkValidationTaskDialog.java index 5c944168cc..3fe1661b8f 100644 --- a/source/java/org/alfresco/web/bean/wcm/ManageVerifyBrokenLinksTaskDialog.java +++ b/source/java/org/alfresco/web/bean/wcm/ManageLinkValidationTaskDialog.java @@ -1,145 +1,145 @@ -/* - * Copyright (C) 2005-2007 Alfresco Software Limited. - * - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - * As a special exception to the terms and conditions of version 2.0 of - * the GPL, you may redistribute this Program in connection with Free/Libre - * and Open Source Software ("FLOSS") applications as described in Alfresco's - * FLOSS exception. You should have recieved a copy of the text describing - * the FLOSS exception, and it is also available here: - * http://www.alfresco.com/legal/licensing" - */ -package org.alfresco.web.bean.wcm; - -import java.util.HashMap; -import java.util.Map; - -import javax.faces.context.FacesContext; -import javax.transaction.UserTransaction; - -import org.alfresco.linkvalidation.LinkValidationReport; -import org.alfresco.repo.domain.PropertyValue; -import org.alfresco.sandbox.SandboxConstants; -import org.alfresco.web.app.Application; -import org.alfresco.web.bean.repository.Repository; -import org.alfresco.web.bean.workflow.ManageTaskDialog; -import org.alfresco.web.ui.common.Utils; -import org.apache.commons.logging.Log; -import org.apache.commons.logging.LogFactory; - -/** - * Bean implementation for the "Manage Task" dialog when dealing - * with the "WCM Review" task specifically. - * - * @author gavinc - */ -public class ManageVerifyBrokenLinksTaskDialog extends ManageTaskDialog -{ - protected String store; - protected String webapp; - protected AVMBrowseBean avmBrowseBean; - - private static final Log logger = LogFactory.getLog(ManageVerifyBrokenLinksTaskDialog.class); - - // ------------------------------------------------------------------------------ - // Implementation - - @Override - public void init(Map parameters) - { - super.init(parameters); - - FacesContext context = FacesContext.getCurrentInstance(); - UserTransaction tx = null; - - try - { - tx = Repository.getUserTransaction(context, true); - tx.begin(); - - // reset any previous link validation state - this.avmBrowseBean.setLinkValidationState(null); - this.avmBrowseBean.setLinkValidationMonitor(null); - - // try and retrieve the deployment report from the workflow - // store, if present setup the validation state on AVMBrowseBean - String storeName = this.workflowPackage.getStoreRef().getIdentifier(); - - if (logger.isDebugEnabled()) - logger.debug("Retrieving link validation report from store '" + storeName + "'"); - - PropertyValue val = this.avmService.getStoreProperty(storeName, - SandboxConstants.PROP_LINK_VALIDATION_REPORT); - if (val != null) - { - LinkValidationReport report = (LinkValidationReport)val.getSerializableValue(); - if (report != null) - { - this.store = report.getStore(); - this.webapp = report.getWebapp(); - - if (logger.isDebugEnabled()) - logger.debug("Found link validation report for webapp '" + - AVMUtil.buildStoreWebappPath(this.store, this.webapp) + "'"); - - LinkValidationState state = new LinkValidationState(report); - this.avmBrowseBean.setLinkValidationState(state); - - if (logger.isDebugEnabled()) - logger.debug("Stored link validation state: " + state); - } - } - - // commit the changes - tx.commit(); - } - catch (Throwable e) - { - // rollback the transaction - try { if (tx != null) {tx.rollback();} } catch (Exception ex) {} - Utils.addErrorMessage(formatErrorMessage(e), e); - } - } - - // ------------------------------------------------------------------------------ - // Event handlers - - public String viewLinkReport() - { - if (logger.isDebugEnabled()) - logger.debug("Viewing link validation report for webapp '" + - AVMUtil.buildStoreWebappPath(this.store, this.webapp) + "'"); - - Map params = new HashMap(1); - params.put("store", this.store); - params.put("webapp", this.webapp); - params.put("compareToStaging", "true"); - Application.getDialogManager().setupParameters(params); - - return "dialog:linkValidation"; - } - - // ------------------------------------------------------------------------------ - // Getters and Setters - - /** - * @param avmBrowseBean AVMBrowseBean instance - */ - public void setAvmBrowseBean(AVMBrowseBean avmBrowseBean) - { - this.avmBrowseBean = avmBrowseBean; - } -} +/* + * Copyright (C) 2005-2007 Alfresco Software Limited. + * + * This program is free software; you can redistribute it and/or + * modify it under the terms of the GNU General Public License + * as published by the Free Software Foundation; either version 2 + * of the License, or (at your option) any later version. + + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. + + * As a special exception to the terms and conditions of version 2.0 of + * the GPL, you may redistribute this Program in connection with Free/Libre + * and Open Source Software ("FLOSS") applications as described in Alfresco's + * FLOSS exception. You should have recieved a copy of the text describing + * the FLOSS exception, and it is also available here: + * http://www.alfresco.com/legal/licensing" + */ +package org.alfresco.web.bean.wcm; + +import java.util.HashMap; +import java.util.Map; + +import javax.faces.context.FacesContext; +import javax.transaction.UserTransaction; + +import org.alfresco.linkvalidation.LinkValidationReport; +import org.alfresco.repo.domain.PropertyValue; +import org.alfresco.sandbox.SandboxConstants; +import org.alfresco.web.app.Application; +import org.alfresco.web.bean.repository.Repository; +import org.alfresco.web.bean.workflow.ManageTaskDialog; +import org.alfresco.web.ui.common.Utils; +import org.apache.commons.logging.Log; +import org.apache.commons.logging.LogFactory; + +/** + * Bean implementation for the "Manage Task" dialog when dealing + * with link validation related WCM tasks. + * + * @author gavinc + */ +public class ManageLinkValidationTaskDialog extends ManageTaskDialog +{ + protected String store; + protected String webapp; + protected AVMBrowseBean avmBrowseBean; + + private static final Log logger = LogFactory.getLog(ManageLinkValidationTaskDialog.class); + + // ------------------------------------------------------------------------------ + // Implementation + + @Override + public void init(Map parameters) + { + super.init(parameters); + + FacesContext context = FacesContext.getCurrentInstance(); + UserTransaction tx = null; + + try + { + tx = Repository.getUserTransaction(context, true); + tx.begin(); + + // reset any previous link validation state + this.avmBrowseBean.setLinkValidationState(null); + this.avmBrowseBean.setLinkValidationMonitor(null); + + // try and retrieve the deployment report from the workflow + // store, if present setup the validation state on AVMBrowseBean + String storeName = this.workflowPackage.getStoreRef().getIdentifier(); + + if (logger.isDebugEnabled()) + logger.debug("Retrieving link validation report from store '" + storeName + "'"); + + PropertyValue val = this.avmService.getStoreProperty(storeName, + SandboxConstants.PROP_LINK_VALIDATION_REPORT); + if (val != null) + { + LinkValidationReport report = (LinkValidationReport)val.getSerializableValue(); + if (report != null) + { + this.store = report.getStore(); + this.webapp = report.getWebapp(); + + if (logger.isDebugEnabled()) + logger.debug("Found link validation report for webapp '" + + AVMUtil.buildStoreWebappPath(this.store, this.webapp) + "'"); + + LinkValidationState state = new LinkValidationState(report); + this.avmBrowseBean.setLinkValidationState(state); + + if (logger.isDebugEnabled()) + logger.debug("Stored link validation state: " + state); + } + } + + // commit the changes + tx.commit(); + } + catch (Throwable e) + { + // rollback the transaction + try { if (tx != null) {tx.rollback();} } catch (Exception ex) {} + Utils.addErrorMessage(formatErrorMessage(e), e); + } + } + + // ------------------------------------------------------------------------------ + // Event handlers + + public String viewLinkReport() + { + if (logger.isDebugEnabled()) + logger.debug("Viewing link validation report for webapp '" + + AVMUtil.buildStoreWebappPath(this.store, this.webapp) + "'"); + + Map params = new HashMap(1); + params.put("store", this.store); + params.put("webapp", this.webapp); + params.put("compareToStaging", "true"); + Application.getDialogManager().setupParameters(params); + + return "dialog:linkValidation"; + } + + // ------------------------------------------------------------------------------ + // Getters and Setters + + /** + * @param avmBrowseBean AVMBrowseBean instance + */ + public void setAvmBrowseBean(AVMBrowseBean avmBrowseBean) + { + this.avmBrowseBean = avmBrowseBean; + } +} diff --git a/source/java/org/alfresco/web/bean/wcm/SubmitDialog.java b/source/java/org/alfresco/web/bean/wcm/SubmitDialog.java index e755369279..1fd9b547b0 100644 --- a/source/java/org/alfresco/web/bean/wcm/SubmitDialog.java +++ b/source/java/org/alfresco/web/bean/wcm/SubmitDialog.java @@ -643,7 +643,18 @@ public class SubmitDialog extends BaseDialogBean } else { - Map list = avmService.getDirectoryListing(version, path, true); + if (desc.isDeletedDirectory()) + { + // lookup the previous child and get its contents + final List history = avmService.getHistory(desc, 2); + if (history.size() == 1) + { + return; + } + desc = history.get(1); + } + + Map list = avmService.getDirectoryListing(desc, true); for (AVMNodeDescriptor child : list.values()) { recursivelyRemoveLocks(webProject, version, child.getPath()); diff --git a/source/java/org/alfresco/web/ui/repo/component/UICharsetSelector.java b/source/java/org/alfresco/web/ui/repo/component/UICharsetSelector.java index cfb59be485..d83e3f0e09 100644 --- a/source/java/org/alfresco/web/ui/repo/component/UICharsetSelector.java +++ b/source/java/org/alfresco/web/ui/repo/component/UICharsetSelector.java @@ -46,6 +46,8 @@ public class UICharsetSelector extends UISelectOne public static final String COMPONENT_TYPE = "org.alfresco.faces.CharsetSelector"; public static final String COMPONENT_FAMILY = "javax.faces.SelectOne"; + private static List charsetEncodings = null; + @Override @SuppressWarnings("unchecked") public void encodeBegin(FacesContext context) throws IOException @@ -75,13 +77,25 @@ public class UICharsetSelector extends UISelectOne */ protected List createList() { - Map availableCharsets = Charset.availableCharsets(); - List items = new ArrayList(availableCharsets.size()); - for (Charset charset : availableCharsets.values()) + return getCharsetEncodingList(); + } + + /** + * @return the List of available system character set encodings as a List of SelectItem objects + */ + public static List getCharsetEncodingList() + { + if (charsetEncodings == null) { - SelectItem item = new SelectItem(charset.name(), charset.displayName()); - items.add(item); + Map availableCharsets = Charset.availableCharsets(); + List items = new ArrayList(availableCharsets.size()); + for (Charset charset : availableCharsets.values()) + { + SelectItem item = new SelectItem(charset.name(), charset.displayName()); + items.add(item); + } + charsetEncodings = items; } - return items; + return charsetEncodings; } } diff --git a/source/java/org/alfresco/web/ui/wcm/component/UILinkValidationReport.java b/source/java/org/alfresco/web/ui/wcm/component/UILinkValidationReport.java index 9185b9ed09..09eb1b13e9 100644 --- a/source/java/org/alfresco/web/ui/wcm/component/UILinkValidationReport.java +++ b/source/java/org/alfresco/web/ui/wcm/component/UILinkValidationReport.java @@ -776,7 +776,7 @@ public class UILinkValidationReport extends AbstractLinkValidationReportComponen protected String getIcon(String fileName) { // work out what icon to use - String icon = "/images/filetypes32/html.gif"; + String icon = "/images/filetypes32/_default.gif"; String ext = ""; int idx = fileName.indexOf("."); if (idx != -1) @@ -784,7 +784,11 @@ public class UILinkValidationReport extends AbstractLinkValidationReportComponen ext = fileName.substring(idx); } - if (ext.equals(".xml")) + if (ext.equals(".html") || ext.equals(".htm")) + { + icon = "/images/filetypes32/html.gif"; + } + else if (ext.equals(".xml")) { icon = "/images/icons/webform_large.gif"; } diff --git a/source/web/WEB-INF/faces-config-beans.xml b/source/web/WEB-INF/faces-config-beans.xml index c79accbeb1..1f53906bab 100644 --- a/source/web/WEB-INF/faces-config-beans.xml +++ b/source/web/WEB-INF/faces-config-beans.xml @@ -2045,8 +2045,8 @@ The bean that backs up the Verify Broken Links Task Dialog - ManageVerifyBrokenLinksTaskDialog - org.alfresco.web.bean.wcm.ManageVerifyBrokenLinksTaskDialog + ManageLinkValidationTaskDialog + org.alfresco.web.bean.wcm.ManageLinkValidationTaskDialog session nodeService diff --git a/source/web/images/icons/abort_submission_large.gif b/source/web/images/icons/abort_submission_large.gif new file mode 100644 index 0000000000..4a600c9567 Binary files /dev/null and b/source/web/images/icons/abort_submission_large.gif differ diff --git a/source/web/images/icons/promote_submission_large.gif b/source/web/images/icons/promote_submission_large.gif new file mode 100644 index 0000000000..436a8fa8fd Binary files /dev/null and b/source/web/images/icons/promote_submission_large.gif differ diff --git a/source/web/jsp/wcm/manage-broken-links-task-dialog.jsp b/source/web/jsp/wcm/manage-broken-links-task-dialog.jsp deleted file mode 100644 index 9fdffafbf4..0000000000 --- a/source/web/jsp/wcm/manage-broken-links-task-dialog.jsp +++ /dev/null @@ -1,186 +0,0 @@ -<%-- - * Copyright (C) 2005-2007 Alfresco Software Limited. - - * This program is free software; you can redistribute it and/or - * modify it under the terms of the GNU General Public License - * as published by the Free Software Foundation; either version 2 - * of the License, or (at your option) any later version. - - * This program is distributed in the hope that it will be useful, - * but WITHOUT ANY WARRANTY; without even the implied warranty of - * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - * GNU General Public License for more details. - - * You should have received a copy of the GNU General Public License - * along with this program; if not, write to the Free Software - * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - - * As a special exception to the terms and conditions of version 2.0 of - * the GPL, you may redistribute this Program in connection with Free/Libre - * and Open Source Software ("FLOSS") applications as described in Alfresco's - * FLOSS exception. You should have recieved a copy of the text describing - * the FLOSS exception, and it is also available here: - * http://www.alfresco.com/legal/licensing" ---%> -<%@ taglib uri="http://java.sun.com/jsf/html" prefix="h" %> -<%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> -<%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %> -<%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %> -<%@ taglib uri="/WEB-INF/wcm.tld" prefix="w" %> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - <%-- Name column --%> - - - - - - - - - - - - <%-- Description column --%> - - - - - - - - <%-- Path column --%> - - - - - - - - <%-- Created Date column --%> - - - - - - - - - - <%-- Modified Date column --%> - - - - - - - - - - <%-- Expiration Date column --%> - - - - - - - - - - <%-- Actions column --%> - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
- - - -
-
- - - - - - - - diff --git a/source/web/jsp/wcm/manage-review-task-dialog.jsp b/source/web/jsp/wcm/manage-review-task-dialog.jsp index d4c93ba16f..f3c622b0b8 100644 --- a/source/web/jsp/wcm/manage-review-task-dialog.jsp +++ b/source/web/jsp/wcm/manage-review-task-dialog.jsp @@ -26,6 +26,7 @@ <%@ taglib uri="http://java.sun.com/jsf/core" prefix="f" %> <%@ taglib uri="/WEB-INF/alfresco.tld" prefix="a" %> <%@ taglib uri="/WEB-INF/repo.tld" prefix="r" %> +<%@ taglib uri="/WEB-INF/wcm.tld" prefix="w" %> @@ -48,6 +49,19 @@ + + + + + + + + + + @@ -152,7 +166,7 @@ - + @@ -167,7 +181,7 @@
- + diff --git a/source/web/scripts/ajax/doclist.js b/source/web/scripts/ajax/doclist.js index 1ee1b00a1e..008f474cec 100644 --- a/source/web/scripts/ajax/doclist.js +++ b/source/web/scripts/ajax/doclist.js @@ -609,7 +609,7 @@ var MyDocs = { var anim = new Fx.Styles(panel, {duration: MyDocs.ANIM_LENGTH, transition: Fx.Transitions.linear}); anim.start({'opacity': 1}); - this.fxOverlay.start(OVERLAY_OPACITY); + this.fxOverlay.start(MyDocs.OVERLAY_OPACITY); this.popupPanel = panel; this.popupPanel.nodeRef = nodeRef; diff --git a/source/web/scripts/ajax/myspaces.js b/source/web/scripts/ajax/myspaces.js index 9e08637f07..0390840092 100644 --- a/source/web/scripts/ajax/myspaces.js +++ b/source/web/scripts/ajax/myspaces.js @@ -764,7 +764,7 @@ var MySpaces = { this.fxOverlay = $("spacePanelOverlay").effect('opacity', {duration: MySpaces.ANIM_LENGTH}); - var panel = $("docUpdatePanel"); + var panel = $("spaceUpdateDocPanel"); panel.setStyle("opacity", 0); panel.setStyle("display", "inline"); Alfresco.Dom.smartAlignElement(panel, actionEl);