[#4180] Hide the full total input and clear it on changes.

This commit is contained in:
Eric Davis
2010-07-02 11:22:58 -07:00
parent 545c2e06e5
commit 766072fb36
2 changed files with 9 additions and 4 deletions
+4 -2
View File
@@ -3,9 +3,11 @@ jQuery(function($) {
var deliverableType = $('select#deliverable_type option:selected').val();
if (deliverableType == 'FixedDeliverable') {
$('#deliverable_total').show();
$('#deliverable_total_input').show();
} else {
$('#deliverable_total').hide();
$('#deliverable_total_input').
children('#deliverable_total').val('').end().
hide();
}
},