mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-07-31 17:39:05 +00:00
. Fix to make sure ActionSpace as null is not passed to NodeEventListeners (as per Derek's last checkin for document)
git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@2444 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -228,11 +228,14 @@ public class BrowseBean implements IContextListener
|
|||||||
* @param actionSpace Set the Space Node to be used for the current browse screen action.
|
* @param actionSpace Set the Space Node to be used for the current browse screen action.
|
||||||
*/
|
*/
|
||||||
public void setActionSpace(Node actionSpace)
|
public void setActionSpace(Node actionSpace)
|
||||||
|
{
|
||||||
|
if (actionSpace != null)
|
||||||
{
|
{
|
||||||
for (NodeEventListener listener : getNodeEventListeners())
|
for (NodeEventListener listener : getNodeEventListeners())
|
||||||
{
|
{
|
||||||
listener.created(actionSpace, actionSpace.getType());
|
listener.created(actionSpace, actionSpace.getType());
|
||||||
}
|
}
|
||||||
|
}
|
||||||
this.actionSpace = actionSpace;
|
this.actionSpace = actionSpace;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user