Updates to the JS calucluations
* Moved JavaScript into a Class * Updated the alignment of the form * Added some JavaScript form DZone to format the number to a currency #1135
This commit is contained in:
@@ -7,6 +7,6 @@ module DeliverablesHelper
|
||||
:class => "budget-calculation",
|
||||
:id => 'deliverable_' + field.to_s + '_subtotal'
|
||||
)
|
||||
) + observe_field('deliverable_' + field.to_s, :function => "updateSubtotal('deliverable_#{field.to_s}'); updateBudget('deliverable_budget');")
|
||||
) + observe_field('deliverable_' + field.to_s, :function => "new Budget().updateSubtotal('deliverable_#{field.to_s}'); new Budget().updateBudget('deliverable_budget');")
|
||||
end
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user