Skip to content
This repository was archived by the owner on Jul 19, 2024. It is now read-only.
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -277,7 +277,7 @@ public GenericResponseVM UpdateMatter(MatterInformationVM matterInformation)
string originalMatterName = GetMatterName(clientContext, matter.Name);
listItemId = RetrieveItemId(clientContext, matterSettings.MatterLandingPageRepositoryName, originalMatterName);
List<string> usersToRemove = new List<string>();
List<string> exsistingUsers = RetrieveMatterUsers(userPermissionOnLibrary);
List<string> existingUsers = RetrieveMatterUsers(userPermissionOnLibrary);
foreach (IList<string> removedUsers in matterInformation.UsersNamesToRemove)
{
foreach (var removedUser in removedUsers)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,10 +66,10 @@
'use strict';
function toggletab() {
return {
restrict: 'A',
restrict: 'A',
link: function (scope, element, attrs) {
$(element).find('a').click(function (e) {
e.preventDefault()
e.preventDefault()
$(this).tab('show')
})
}
Expand Down Expand Up @@ -317,7 +317,7 @@
</div>';
$templateCache.put("test.html", actualcontent);
var template = $templateCache.get("test.html");
var a = $compile("<div>" + template + "</div>")(scope);
var a = $compile("<div>" + template + "</div>")(scope);
$('.dropdown').removeClass('open');
$('.popcontent').css('display', 'none');
e.stopPropagation();
Expand Down Expand Up @@ -478,17 +478,17 @@
scope.$apply(function () {
scope.assignTeam.assignedAllUserNamesAndEmails = scope.assignTeam.assignedUser;
var userEmails = getUserName(scope.assignTeam.assignedUser, false);
var exsistingTeams = [];
var existingTeams = [];
for (var i = 0; i < userEmails.length; i++) {
if (userEmails[i] != "") {
angular.forEach(scope.assignTeam.teamUsers, function (team) {
if (team.userName == userEmails[i]) {
exsistingTeams.push(team);
existingTeams.push(team);
}
});
}
}
scope.assignTeam.teamUsers = exsistingTeams;
scope.assignTeam.teamUsers = existingTeams;
// $scope.projects.splice(i, 1);
scope.$parent.cm.errorPopUpBlock = false;
scope.$parent.cm.errorBorder = "";
Expand Down Expand Up @@ -899,7 +899,7 @@
app.directive('onload', ['$timeout', onload]);
app.directive('showbreadcrumb', [showbreadcrumb]);
app.directive('datefilter', [datefilter]);
app.directive("toggletab", [toggletab]);
app.directive("toggletab", [toggletab]);
app.directive('infopopover', [infopopover]);
app.directive('matterflyout', ['$compile', '$templateCache', '$rootScope', matterflyout]);
app.directive('matterbulkuploadflyout', ['$compile', '$templateCache', '$rootScope', matterbulkuploadflyout]);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,7 @@

var userDetails = {};
userDetails.userName = arrDMatterUserEmails[aCount];
userDetails.userExsists = true;
userDetails.userExists = true;
userDetails.userConfirmation = true;
if (!assignPermTeam.teamUsers) {
assignPermTeam.teamUsers = [];
Expand Down Expand Up @@ -632,7 +632,7 @@
assignPermTeam.assignedAllUserNamesAndEmails = assignPermTeam.assignedUser;
assignPermTeam.assigneTeamRowNumber = cm.assignPermissionTeams.length + 1;
assignPermTeam.userConfirmation = true;
assignPermTeam.userExsists = true;
assignPermTeam.userExists = true;
cm.assignPermissionTeams.push(assignPermTeam);
}
}
Expand Down Expand Up @@ -1165,7 +1165,7 @@
angular.forEach(team.teamUsers, function (teamUser) {
if (keepGoing) {
if (teamUser.userName == usersEmails[j]) {
if (teamUser.userExsists) {
if (teamUser.userExists) {
if (-1 == cm.oSiteUsers.indexOf(usersEmails[j])) {
cm.errTextMsg = cm.createContent.ErrorMessageEntityUsers1;
//"Please enter valid team members.";
Expand Down Expand Up @@ -1334,13 +1334,13 @@
var userEmailTxt = "",userEmailString="";
var userNames = getUserName($label.assignedUser, true);
var userEmails = getUserName($label.assignedUser, false);
var exsistingTeams = [];
var existingTeams = [];
for (var i = 0; i < userEmails.length; i++) {
if (userEmails[i] != "" && validateEmail(userEmails[i])) {
angular.forEach($label.teamUsers, function (team) {
if (team.userName == userEmails[i]) {
userEmailString = userEmailString + userEmails[i] + ";";
exsistingTeams.push(team);
existingTeams.push(team);
}
});
var userNameAndEmailTxt = (userNames[i] == userEmails[i]) ? userEmails[i] : userNames[i] + "(" + userEmails[i] + ")";
Expand All @@ -1350,7 +1350,7 @@
}
angular.element('#txtUser' + $label.assigneTeamRowNumber).attr('uservalue', userEmailString);
$label.assignedAllUserNamesAndEmails = userEmailTxt;
$label.teamUsers = exsistingTeams;
$label.teamUsers = existingTeams;

}
if (fucnValue == "on-blurr" && value == "teamuser") {
Expand Down Expand Up @@ -1697,7 +1697,7 @@
angular.forEach(cm.textInputUser.teamUsers, function (teamUser) {
if (teamUser.userName == userEmail[i]) {
teamUser.userConfirmation = true;
teamUser.userExsists = teamUser.userExsists;
teamUser.userExists = teamUser.userExists;
}
userEmailString = userEmailString + teamUser.userName + ";";
});
Expand Down Expand Up @@ -1728,7 +1728,7 @@
}
}
cm.textInputUser.assignedUser = updatedUserEmail;
cm.textInputUser.userExsists = false;
cm.textInputUser.userExists = false;
cm.textInputUser.userConfirmation = false;
cm.notificationBorder = "";
}
Expand Down Expand Up @@ -1788,31 +1788,31 @@
}
else {
teamDetails.userConfirmation = teamDetails.userConfirmation;
teamDetails.userExsists = false;
teamDetails.userExists = false;
cm.invalidUserCheck = true;
}

} else {
checkEmailExists = true;
}
if (checkEmailExists) {
var optionsForUserExsists = new Object;
optionsForUserExsists = {
var optionsForUserExists = new Object;
optionsForUserExists = {
Url: cm.clientUrl,
Name: email
}
cm.popupContainerBackground = "show";
userexists(optionsForUserExsists, function (response) {
userexists(optionsForUserExists, function (response) {
if (!response.isUserExistsInSite) {
angular.forEach(cm.assignPermissionTeams, function (team) {
var userEmail = getUserName(team.assignedUser+";", false);
for (var i = 0; i < userEmail.length; i++) {
if (userEmail[i] == email && team.assigneTeamRowNumber == teamDetails.assigneTeamRowNumber) {
team.userExsists = response.isUserExistsInSite;
team.userExists = response.isUserExistsInSite;
team.userConfirmation = false;
var userDetails = {};
userDetails.userName = userEmail[i];
userDetails.userExsists = team.userExsists;
userDetails.userExists = team.userExists;
userDetails.userConfirmation = false;
if (!team.teamUsers) {
team.teamUsers = [];
Expand Down Expand Up @@ -1845,7 +1845,7 @@
for (var i = 0; i < userEmail.length; i++) {
if (userEmail[i] == email) {
cm.textInputUser = team;
team.userExsists = response.isUserExistsInSite;
team.userExists = response.isUserExistsInSite;
team.userConfirmation = true;
cm.currentExternalUser.userName = userEmail[i];
cm.currentExternalUser.rowNumber = team.assigneTeamRowNumber;
Expand All @@ -1860,7 +1860,7 @@
}
var userDetails = {};
userDetails.userName = userEmail[i];
userDetails.userExsists = team.userExsists;
userDetails.userExists = team.userExists;
userDetails.userConfirmation = true;
if (!team.teamUsers) {
team.teamUsers = [];
Expand Down Expand Up @@ -3556,13 +3556,13 @@
team.assignedUser = adalService.userInfo.profile.name + '(' + adalService.userInfo.userName + ');';
team.assignedAllUserNamesAndEmails = team.assignedUser;
team.userConfirmation = true;
team.userExsists = true;
team.userExists = true;
team.disable = true;
team.userConfirmation = true;
team.userExsists = true;
team.userExists = true;
var userDetails = {};
userDetails.userName = adalService.userInfo.userName;
userDetails.userExsists = true;
userDetails.userExists = true;
userDetails.userConfirmation = true;
if (!team.teamUsers) {
team.teamUsers = [];
Expand Down
Loading