equal
deleted
inserted
replaced
148 if (!this.annotations_ids.hasOwnProperty(obj["id"])) { |
148 if (!this.annotations_ids.hasOwnProperty(obj["id"])) { |
149 // braindead url; jacques didn't want to create a new one in the platform, |
149 // braindead url; jacques didn't want to create a new one in the platform, |
150 // so we append the cutting id to the url. |
150 // so we append the cutting id to the url. |
151 obj["url"] = this.project_url + "/" + media + "/" + |
151 obj["url"] = this.project_url + "/" + media + "/" + |
152 annotation.meta["project"] + "/" + |
152 annotation.meta["project"] + "/" + |
153 annotation.meta["id-ref"] + "/"; |
153 annotation.meta["id-ref"]; |
154 |
154 |
155 // obj["url"] = document.location.href.split("#")[0] + "/" + annotation.meta["project"]; |
155 // obj["url"] = document.location.href.split("#")[0] + "/" + annotation.meta["project"]; |
156 } |
156 } |
157 |
157 |
158 l.push(obj); |
158 l.push(obj); |