From: Tara L Andrews Date: Mon, 10 Jun 2013 06:42:37 +0000 (+0200) Subject: clear annotation on first relationship type change; fixes #2 X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=commitdiff_plain;h=a166dca8c7ea6f667181841bd25905b55901df76;hp=21e6ebc7ffd87340286aa4ee5d4df1057bac6a3b;p=scpubgit%2Fstemmaweb.git clear annotation on first relationship type change; fixes #2 --- diff --git a/root/js/relationship.js b/root/js/relationship.js index 873945b..6e4295b 100644 --- a/root/js/relationship.js +++ b/root/js/relationship.js @@ -682,12 +682,21 @@ $(document).ready(function () { }, create: function(event, ui) { $(this).data( 'relation_drawn', false ); + $('#rel_type').data( 'changed_after_open', false ); $.each( relationship_types, function(index, typedef) { $('#rel_type').append( $('