RM-1504 (Error if Saved Search contains XSS)

git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/modules/recordsmanagement/HEAD@74470 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
Tuna Aksoy
2014-06-23 10:02:06 +00:00
parent 219d13f9b1
commit 25ec7cabe0

View File

@@ -80,7 +80,8 @@ function doclist_getAllNodes(parsedArgs, filterParams, query, totalItemCount)
},
sort: filterParams.sort,
templates: filterParams.templates,
namespace: (filterParams.namespace ? filterParams.namespace : null)
namespace: (filterParams.namespace ? filterParams.namespace : null),
onerror: "no-results"
});
totalRecords = allNodes.length;