From d2a9cc73e1cbe69965f76811f73ef79965dbcda5 Mon Sep 17 00:00:00 2001 From: Jan Vonka Date: Thu, 14 Oct 2010 16:34:30 +0000 Subject: [PATCH] ALF-1605/ALF-3452 - follow-on to r23002 - fix delete selected item(s) git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@23122 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261 --- .../alfresco/slingshot/documentlibrary/activity.post.json.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/config/alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/activity.post.json.js b/config/alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/activity.post.json.js index 6bae2baf66..7de38d25a0 100644 --- a/config/alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/activity.post.json.js +++ b/config/alfresco/templates/webscripts/org/alfresco/slingshot/documentlibrary/activity.post.json.js @@ -53,7 +53,10 @@ function postActivity() case "files-updated": data.title = json.get("fileCount"); strParams = "?path=" + json.get("path"); - data.parentNodeRef = json.get("parentNodeRef"); + if (json.has("parentNodeRef")) + { + data.parentNodeRef = json.get("parentNodeRef"); + } break; case "file-deleted":