aboutsummaryrefslogtreecommitdiffstats
path: root/python
diff options
context:
space:
mode:
Diffstat (limited to 'python')
-rw-r--r--python/Dawn/static/dawn.js5
1 files changed, 5 insertions, 0 deletions
diff --git a/python/Dawn/static/dawn.js b/python/Dawn/static/dawn.js
index bc788b1d..c6f8d0c6 100644
--- a/python/Dawn/static/dawn.js
+++ b/python/Dawn/static/dawn.js
@@ -24,6 +24,11 @@ $(function() {
$('#security_id').val(data['redcode']);
$('#maturity').val(data['maturity']);
});
+ if ($(this).val().startsWith("ITRX")) {
+ $('#currency').val("EUR");
+ } else{
+ $('#currency').val("USD");
+ }
});
$('#folder').change(function() {
if ($('#swap_type').val() == 'CD_INDEX') {