Free cookie consent management tool by TermsFeed Policy Generator

Ignore:
Timestamp:
11/05/13 10:52:45 (11 years ago)
Author:
jkarder
Message:

#2116:

  • refactored outermost view host detection
  • fixed update logic of breadcrumb trail
  • fixed some views
Location:
branches/Breadcrumbs/HeuristicLab.Clients.Access.Administration/3.3/Views
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • branches/Breadcrumbs/HeuristicLab.Clients.Access.Administration/3.3/Views/RoleView.cs

    r9456 r10106  
    4747
    4848    private void roleNameTextBox_TextChanged(object sender, System.EventArgs e) {
    49       if (Content.Name != roleNameTextBox.Text)
     49      if (Content != null && Content.Name != roleNameTextBox.Text)
    5050        Content.Name = roleNameTextBox.Text;
    5151    }
  • branches/Breadcrumbs/HeuristicLab.Clients.Access.Administration/3.3/Views/UserGroupView.cs

    r9456 r10106  
    6969
    7070    private void groupNameTextBox_TextChanged(object sender, System.EventArgs e) {
    71       if (Content.Name != this.groupNameTextBox.Text)
     71      if (Content != null && Content.Name != this.groupNameTextBox.Text)
    7272        Content.Name = this.groupNameTextBox.Text;
    7373    }
  • branches/Breadcrumbs/HeuristicLab.Clients.Access.Administration/3.3/Views/UserView.cs

    r9456 r10106  
    7272
    7373    private void fullNameTextBox_TextChanged(object sender, System.EventArgs e) {
    74       if (Content.FullName != fullNameTextBox.Text)
     74      if (Content != null && Content.FullName != fullNameTextBox.Text)
    7575        Content.FullName = fullNameTextBox.Text;
    7676    }
    7777
    7878    private void userNameTextBox_TextChanged(object sender, System.EventArgs e) {
    79       if (Content.UserName != userNameTextBox.Text)
     79      if (Content != null && Content.UserName != userNameTextBox.Text)
    8080        Content.UserName = userNameTextBox.Text;
    8181    }
    8282
    8383    private void emailTextBox_TextChanged(object sender, System.EventArgs e) {
    84       if (Content.Email != emailTextBox.Text)
     84      if (Content != null && Content.Email != emailTextBox.Text)
    8585        Content.Email = emailTextBox.Text;
    8686    }
Note: See TracChangeset for help on using the changeset viewer.