changed capital letter case to fit model.

This commit is contained in:
kunw 2016-04-18 23:28:19 +08:00
parent 8e6c45871f
commit b229802e3e

View File

@ -245,7 +245,7 @@ jQuery(function(){
var userId = userList[i].UserId; var userId = userList[i].UserId;
var roleId = userList[i].RoleId; var roleId = userList[i].RoleId;
var username = userList[i].Username; var username = userList[i].username;
var roleNameList = []; var roleNameList = [];
for(var j = i; j < userList.length; i++, j++){ for(var j = i; j < userList.length; i++, j++){
@ -331,7 +331,6 @@ jQuery(function(){
getUserRoleCallback(userId); getUserRoleCallback(userId);
}); });
$("#tblUser .glyphicon-trash").on("click", function(){ $("#tblUser .glyphicon-trash").on("click", function(){
var roleId = $(this).attr("roleid");
var userId = $(this).attr("userid"); var userId = $(this).attr("userid");
new AjaxUtil({ new AjaxUtil({
url: "/api/projects/" + $("#projectId").val() + "/members/" + userId, url: "/api/projects/" + $("#projectId").val() + "/members/" + userId,