save annotations made in relationship mapper
Tara L Andrews [Wed, 22 Feb 2012 14:51:39 +0000 (15:51 +0100)]
stemmaweb/lib/stemmaweb/Controller/Relation.pm

index 690f44e..54830ac 100644 (file)
@@ -110,7 +110,8 @@ sub relationships :Chained('text') :PathPart :Args(0) {
                my $scope = $c->request->param('scope');
        
                my $opts = { 'type' => $relation,
-                                        'scope' => $scope };
+                                        'scope' => $scope,
+                                        'annotation' => $note };
                
                try {
                        my @vectors = $collation->add_relationship( $node, $target, $opts );