Advertisement
Guest User

Untitled

a guest
Mar 21st, 2019
94
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.15 KB | None | 0 0
  1. $(".sp-peoplepicker-delImage").css({ 'display' : 'none'});
  2. $(".sp-peoplepicker-editorInput").css({ 'display' : 'none'});
  3.  
  4. <style>
  5.  
  6. .sp-peoplepicker-delImage{
  7.  
  8. display:none;
  9.  
  10. }
  11. .sp-peoplepicker-editorInput{
  12.  
  13. display:none;
  14.  
  15. }
  16.  
  17. </style>
  18.  
  19. $(".sp-peoplepicker-editorInput").attr('disabled' , 'disabled');
  20.  
  21. $(".sp-peoplepicker-delImage").css({ 'display' : 'none'});
  22. $(".sp-peoplepicker-editorInput").attr('disabled' , 'disabled');
  23.  
  24. $(this).find('.sp-peoplepicker-editorInput').prop("readonly", true);
  25. $(this).find('.sp-peoplepicker-editorInput').prop("disabled", true);
  26. $(this).find('.ms-entity-resolved').attr('style', 'cursor: text;');
  27. $(this).find('.sp-peoplepicker-autoFillContainer').parent().attr('style', 'color:#b1b1b1;');
  28. $(this).find('.sp-peoplepicker-delImage').each(function() {
  29. $(this).hide();
  30. });
  31. $(this).prop("readonly", true);
  32. $(this).prop("disabled", true);
  33.  
  34. $("table[id$='UserField_OuterTable'] tbody")[0].remove();
  35. var markup = $("input[id$='HiddenEntityDisplayText']")[0].value;
  36. $("table[id$='UserField_OuterTable']")[0].append(markup);
  37.  
  38. $('div[title="People Picker"]').attr("contenteditable", false);
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement