src/widgets/Annotation.js
branchnew-model
changeset 916 ec6849bbbdcc
parent 906 4b6e154ae8de
child 922 096c06aea8b5
--- a/src/widgets/Annotation.js	Fri Jun 08 19:03:03 2012 +0200
+++ b/src/widgets/Annotation.js	Tue Jun 12 19:44:20 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) {