Revize e551a45b
Přidáno uživatelem Martin Matas před téměř 6 roky(ů)
sources/imiger-core/src/main/webapp/js/timeline/main.js | ||
---|---|---|
112 | 112 |
}, |
113 | 113 |
'relation' : { |
114 | 114 |
'*' : function(relation) { |
115 |
var from = this.getDataSource().getAllMappedEntities().get(relation.getOriginId());
|
|
116 |
var to = this.getDataSource().getAllMappedEntities().get(relation.getDestinationId());
|
|
115 |
var from = this.getDataSource().getEntities().get(relation.getOriginId()); |
|
116 |
var to = this.getDataSource().getEntities().get(relation.getDestinationId()); |
|
117 | 117 |
var elm = new jQuery("<div class='text-center'>"); |
118 | 118 |
elm.addClass("my-popover") |
119 | 119 |
.html("<div>" + from.getTitle() + " </div><h3>⇩ " + relation.getTitle() + " ⇩</h3><div>" + to.getTitle() + "</div>"); |
Také k dispozici: Unified diff
Fixed entities access (refs #7563)