Project

General

Profile

Actions

Defect #5452

closed

Member role forms in project settings are not hidden after member added

Added by Yuki Kita over 14 years ago. Updated over 14 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
UI
Target version:
Start date:
2010-05-06
Due date:
% Done:

100%

Estimated time:
Resolution:
Fixed
Affected version:

Description

Member role forms in project settings should be hidden by default.
And we click [edit] button to see them.
But if I add some member to a project, all member role forms are shown.
So I have to click [cancel] button one by one to hide them.

It seems that the behavior was changed after the fix for #4852 ( r3483 ).
Because the load event handler bellow is not called after member added.

Event.observe(window, 'load', function() {
  $$('.hol').each(function(el) {
      el.hide();
    });
});

Files

_members.rhtml.diff (1.12 KB) _members.rhtml.diff Alain Alain091, 2010-05-07 23:06
application.js.diff (375 Bytes) application.js.diff Alain Alain091, 2010-05-07 23:07
member_role_forms.patch (3.23 KB) member_role_forms.patch Yuki Kita, 2010-05-08 02:53
member_role_forms2.patch (2.77 KB) member_role_forms2.patch Yuki Kita, 2010-05-11 14:38
Actions

Also available in: Atom PDF