openEditDialog: function()

in teamcity-invitations-plugin-server/src/main/resources/buildServerResources/invitationsAdmin.js [48:61]


    openEditDialog: function (token, invitationTypeDescr, invitationTypeId, projectId) {
        this.enable();
        $j('#invitationFormTitle').text('Edit Invitation');
        $j('#invitationTypeContainer').hide();
        $j('#readOnlyInvitationType').show();
        $j('#readOnlyInvitationType').text(invitationTypeDescr);

        $('invitationTypeSelect').setSelectValue('');
        this.formElement().token.value = token;
        this.formElement().invitationType.value = invitationTypeId;
        $j(BS.InvitationDialog.getContainer()).find(".content").html('');
        this.reloadInvitationType(projectId, true);
        return false;
    },