mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Fix dispatching bug found on the forums: http://forums.alfresco.com/viewtopic.php?p=22722#22722
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@6051 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -206,6 +206,14 @@ public class DocumentDetailsBean extends BaseDetailsBean
|
||||
return getDocument().hasAspect(ContentModel.ASPECT_MULTILINGUAL_DOCUMENT);
|
||||
}
|
||||
|
||||
/**
|
||||
* Adds the node to the dispatch context so that overridden dialogs can be picked up
|
||||
*/
|
||||
public void setupEditContext(ActionEvent event)
|
||||
{
|
||||
this.navigator.setupDispatchContext(getDocument());
|
||||
}
|
||||
|
||||
/**
|
||||
* Save the state of the panel that was expanded/collapsed
|
||||
*/
|
||||
|
@@ -208,7 +208,7 @@
|
||||
<f:facet name="title">
|
||||
<r:permissionEvaluator value="#{DocumentDetailsBean.document}" allow="Write">
|
||||
<a:actionLink id="titleLink1" value="#{msg.modify}" showLink="false" image="/images/icons/edit_properties.gif"
|
||||
action="dialog:editContentProperties" />
|
||||
action="dialog:editContentProperties" actionListener="#{DocumentDetailsBean.setupEditContext}" />
|
||||
</r:permissionEvaluator>
|
||||
</f:facet>
|
||||
</h:panelGroup>
|
||||
|
Reference in New Issue
Block a user