Fix Javascript so non-Freebase preview popouts work.
This commit is contained in:
parent
a58426332b
commit
9f4c66b8d8
@ -455,7 +455,7 @@ DataTableCellUI.prototype._previewCandidateTopic = function(candidate, elmt, pre
|
||||
.html(DOM.loadHTML("core", "scripts/views/data-table/cell-recon-preview-popup-header.html"));
|
||||
|
||||
if (preview && preview.url) { // Service has a preview URL associated with it
|
||||
var url = encodeURI(preview.srch.replace("{{id}}", id));
|
||||
var url = encodeURI(preview.url.replace("{{id}}", id));
|
||||
var iframe = $('<iframe></iframe>')
|
||||
.width(preview.width)
|
||||
.height(preview.height)
|
||||
|
Loading…
Reference in New Issue
Block a user