Changed the create.rjs so it will replace the td on the admin and project panel.

* td's are now id'ed like rate_project_user

  #1923
This commit is contained in:
Eric Davis committed 2009-01-21 12:20:17 -08:00
1 parent 05501f3eb6
commit dc6acf5031
3 files changed
+3 -3

No files matched your search

+1 -1
View File
@@ -1,2 +1,2 @@
element = 'rate_' + @rate.project_id.to_s
element = 'rate_' + @rate.project_id.to_s + '_' + @rate.user_id.to_s
page.replace_html element, "<strong>#{link_to number_to_currency(@rate.amount), { :action => 'edit', :id => @rate.user, :tab => 'rates'} }</strong>"