web/res/metadataplayer/Annotation.js
changeset 638 e0d4e8431de3
parent 623 5b7d7ab6baff
child 654 a5977736d2b0
--- a/web/res/metadataplayer/Annotation.js	Thu Jun 14 16:05:27 2012 +0200
+++ b/web/res/metadataplayer/Annotation.js	Wed Jun 20 18:46:56 2012 +0200
@@ -77,7 +77,7 @@
     this.lastAnnotation = _annotation.id;
     var _url = (typeof _annotation.url !== "undefined" 
             ? _annotation.url
-            : (document.location.href.replace(/#.*$/,'') + '#id='  + _annotation.namespacedId.name));
+            : (document.location.href.replace(/#.*$/,'') + '#id='  + _annotation.id));
     var _text = this.l10n.watching + _annotation.title + (this.site_name ? this.l10n.on_site + this.site_name : '');
     var _tags = _annotation.getTagTexts();
     if (_tags.length) {