src/js/widgets/annotationsListWidget.js
branchpopcorn-port
changeset 716 16d61d539cbf
parent 714 9056928c46de
child 729 7ba63d0315ad
equal deleted inserted replaced
714:9056928c46de 716:16d61d539cbf
   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         l.push(obj);
       
   157       }
   156       }
       
   157       
       
   158       l.push(obj);
   158   }
   159   }
   159 
   160 
   160   this.do_redraw(l);
   161   this.do_redraw(l);
   161 };
   162 };
   162 IriSP.AnnotationsListWidget.prototype.draw = function() {
   163 IriSP.AnnotationsListWidget.prototype.draw = function() {