aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/Dawn/static/dawn.js14
1 files changed, 7 insertions, 7 deletions
diff --git a/python/Dawn/static/dawn.js b/python/Dawn/static/dawn.js
index dc7c4d0a..710fa1df 100644
--- a/python/Dawn/static/dawn.js
+++ b/python/Dawn/static/dawn.js
@@ -68,13 +68,13 @@ $(function() {
switch ($(this).val()) {
case 'CD_INDEX_TRANCHE':
case 'BESPOKE':
- to_show = ['attach', 'detach', 'initial_margin_percentage',
+ to_show = ['orig_attach', 'orig_detach', 'initial_margin_percentage',
'index_ref', 'corr_attach', 'corr_detach'];
to_show.forEach(function(id) {
$('#' + id).parent().parent().css('display', 'block');
});
- $('#attach').parent().parent().css('display', 'block');
- $('#detach').parent().parent().css('display', 'block');
+ $('#orig_attach').parent().parent().css('display', 'block');
+ $('#orig_detach').parent().parent().css('display', 'block');
$('#clearing_facility').parent().parent().css('display', 'none');
$('#clearing_facility').val('');
$('#initial_margin_percentage').parent().parent().css('display', 'block');
@@ -82,7 +82,7 @@ $(function() {
$('#portfolio').val('TRANCHE');
break;
case 'CD_INDEX':
- to_hide = ['attach', 'detach', 'initial_margin_percentage',
+ to_hide = ['orig_attach', 'orig_detach', 'initial_margin_percentage',
'corr_attach', 'corr_detach', 'index_ref'];
to_hide.forEach(function(id) {
$('#' + id).parent().parent().css('display', 'none');
@@ -93,7 +93,7 @@ $(function() {
$('#folder').change();
break;
case 'ABS_CDS':
- to_hide = ['attach', 'detach',
+ to_hide = ['orig_attach', 'orig_detach',
'corr_attach', 'corr_detach', 'index_ref'];
to_hide.forEach(function(id) {
$('#' + id).parent().parent().css('display', 'none');
@@ -104,7 +104,7 @@ $(function() {
$('#portfolio').val('MORTGAGES');
break;
case 'CD_BASKET_TRANCHE':
- to_show = ['attach', 'detach', 'initial_margin_percentage',
+ to_show = ['orig_attach', 'orig_detach', 'initial_margin_percentage',
'corr_attach', 'corr_detach', 'index_ref'];
to_show.forEach(function(id) {
$('#' + id).parent().parent().css('display', 'block');
@@ -123,7 +123,7 @@ $(function() {
$('#settlement_type').val('Cash');
break;
case 'CD_INDEX_OPTION':
- to_hide = ['attach', 'detach',
+ to_hide = ['orig_attach', 'orig_detach',
'corr_attach', 'corr_detach'];
to_hide.forEach(function(id) {
$('#' + id).parent().parent().css('display', 'none');