Guest User

Untitled

a guest
Aug 3rd, 2018
35
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.36 KB | None | 0 0
  1. /*
  2. * doclist
  3. *
  4. * Inputs:
  5. * mandatory: nodeRef = parent space nodeRef
  6. *
  7. * Outputs: space - object containing documents to be listed publicly
  8. */
  9.  
  10. var nodeRef = args["nodeRef"];
  11. model.space = main(nodeRef);
  12.  
  13. function main(nodeRef)
  14. {
  15. var space = null;
  16. if (nodeRef != null) {
  17. space = search.findNode(nodeRef);
  18. }
  19. return space;
  20. }
Add Comment
Please, Sign In to add comment