diff options
author | Jochen Topf <jochen@topf.org> | 2014-05-16 20:22:14 +0200 |
---|---|---|
committer | Jochen Topf <jochen@topf.org> | 2014-05-16 20:22:14 +0200 |
commit | 92730cc8ca987fc83a03e8a143b9b9667d21f412 (patch) | |
tree | e95ad266099b9390b82273836de38c2336e08ca7 /web/views | |
parent | 34a695cc9c8006adae4979603f7d202c4f08f9ef (diff) | |
download | taginfo-92730cc8ca987fc83a03e8a143b9b9667d21f412.tar taginfo-92730cc8ca987fc83a03e8a143b9b9667d21f412.tar.gz |
Disable adding items to comparison list that are already in there.
Diffstat (limited to 'web/views')
-rw-r--r-- | web/views/key.erb | 2 | ||||
-rw-r--r-- | web/views/tag.erb | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/web/views/key.erb b/web/views/key.erb index c2f0cf4..5c1e163 100644 --- a/web/views/key.erb +++ b/web/views/key.erb @@ -123,7 +123,7 @@ function page_init2() { jQuery('h1').html(fmt_key(key)); jQuery.cookie.json = true; - comparison_list_update(); + comparison_list_update(key); jQuery('#list').bind('change', function() { comparison_list_change(key); }); diff --git a/web/views/tag.erb b/web/views/tag.erb index 9397d91..3c2417b 100644 --- a/web/views/tag.erb +++ b/web/views/tag.erb @@ -122,7 +122,7 @@ function page_init2() { jQuery('h1').html(link_to_key(key) + '=' + fmt_value(value)); jQuery.cookie.json = true; - comparison_list_update(); + comparison_list_update(key, value); jQuery('#list').bind('change', function() { comparison_list_change(key, value); }); |