aboutsummaryrefslogtreecommitdiffstats
path: root/python/Dawn/static
diff options
context:
space:
mode:
Diffstat (limited to 'python/Dawn/static')
-rw-r--r--python/Dawn/static/dawn.js11
1 files changed, 11 insertions, 0 deletions
diff --git a/python/Dawn/static/dawn.js b/python/Dawn/static/dawn.js
index d8c6270f..886f304b 100644
--- a/python/Dawn/static/dawn.js
+++ b/python/Dawn/static/dawn.js
@@ -159,6 +159,17 @@ $(function() {
break;
}
});
+ $('#partial_termination').change(
+ function() {
+ if( $(this).prop('checked') ) {
+ $('#termination_amount').parent().parent().css('display', 'block');
+ } else {
+ ('#termination_amount').val('');
+ $('#termination_amount').parent().parent().css('display', 'none');
+ }
+ }
+ );
+ $('#partial_termination').change();
$('#swap_type').change();
var datalist = $('#index_list');
index_list.forEach(function(item) {