fixed url generation bug. popcorn-port
authorhamidouk
Mon, 30 Jan 2012 17:08:21 +0100
branchpopcorn-port
changeset 745 a996a24e07d6
parent 744 76400fd4ce70
child 747 21ca8cd8ac83
fixed url generation bug.
src/js/widgets/annotationsListWidget.js
--- a/src/js/widgets/annotationsListWidget.js	Mon Jan 30 16:24:15 2012 +0100
+++ b/src/js/widgets/annotationsListWidget.js	Mon Jan 30 17:08:21 2012 +0100
@@ -150,7 +150,7 @@
         // so we append the cutting id to the url.
         obj["url"] = this.project_url + "/" + media + "/" + 
                      annotation.meta["project"] + "/" +
-                     annotation.meta["id-ref"] + "/";
+                     annotation.meta["id-ref"];
         
         // obj["url"] = document.location.href.split("#")[0] + "/" + annotation.meta["project"];
       }