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:
@@ -229,9 +229,12 @@ public class BrowseBean implements IContextListener
|
||||
*/
|
||||
public void setActionSpace(Node actionSpace)
|
||||
{
|
||||
for (NodeEventListener listener : getNodeEventListeners())
|
||||
if (actionSpace != null)
|
||||
{
|
||||
listener.created(actionSpace, actionSpace.getType());
|
||||
for (NodeEventListener listener : getNodeEventListeners())
|
||||
{
|
||||
listener.created(actionSpace, actionSpace.getType());
|
||||
}
|
||||
}
|
||||
this.actionSpace = actionSpace;
|
||||
}
|
||||
|
Reference in New Issue
Block a user