Mercurial > hg > soundsoftware-site
comparison app/views/projects/settings/.svn/text-base/_members.rhtml.svn-base @ 128:07fa8a8b56a8
Update to Redmine trunk rev 4732
author | Chris Cannam |
---|---|
date | Wed, 19 Jan 2011 15:04:22 +0000 |
parents | 94944d00e43c |
children |
comparison
equal
deleted
inserted
replaced
119:8661b858af72 | 128:07fa8a8b56a8 |
---|---|
54 <% principals = Principal.active.find(:all, :limit => 100, :order => 'type, login, lastname ASC') - @project.principals %> | 54 <% principals = Principal.active.find(:all, :limit => 100, :order => 'type, login, lastname ASC') - @project.principals %> |
55 | 55 |
56 <div class="splitcontentright"> | 56 <div class="splitcontentright"> |
57 <% if roles.any? && principals.any? %> | 57 <% if roles.any? && principals.any? %> |
58 <% remote_form_for(:member, @member, :url => {:controller => 'members', :action => 'new', :id => @project}, :method => :post, | 58 <% remote_form_for(:member, @member, :url => {:controller => 'members', :action => 'new', :id => @project}, :method => :post, |
59 :loading => "$('member-add-submit').disable()", | 59 :loading => '$(\'member-add-submit\').disable();', |
60 :complete => "$('member-add-submit').enable()") do |f| %> | 60 :complete => 'if($(\'member-add-submit\')) $(\'member-add-submit\').enable();') do |f| %> |
61 <fieldset><legend><%=l(:label_member_new)%></legend> | 61 <fieldset><legend><%=l(:label_member_new)%></legend> |
62 | 62 |
63 <p><%= label_tag "principal_search", l(:label_principal_search) %><%= text_field_tag 'principal_search', nil %></p> | 63 <p><%= label_tag "principal_search", l(:label_principal_search) %><%= text_field_tag 'principal_search', nil %></p> |
64 <%= observe_field(:principal_search, | 64 <%= observe_field(:principal_search, |
65 :frequency => 0.5, | 65 :frequency => 0.5, |