Guest User

Untitled

a guest
Apr 23rd, 2018
75
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. // Add resolved user to array and updates the hidden field control with a JSON string
  2. PeoplePicker.prototype.PushResolvedUser = function (resolvedUser) {
  3. var filtered = resolvedUser.filter(function(user) {
  4. return user.Login !== otherControlResolvedUserLogin;
  5. });
  6. this._ResolvedUsers.push(filtered );
  7. this.PeoplePickerData.val(JSON.stringify(this._ResolvedUsers));
  8. }
Add Comment
Please, Sign In to add comment