indiancinema info view: fix name links above description

This commit is contained in:
rolux 2013-03-02 20:36:04 +05:30
parent 798b26d61b
commit 02c4732449

View file

@ -662,7 +662,7 @@ pandora.ui.infoView = function(data) {
['studios', 'names'].forEach(function(key) { ['studios', 'names'].forEach(function(key) {
descriptions[key].forEach(function(value) { descriptions[key].forEach(function(value) {
if (canEdit || value.description) { if (canEdit || value.description) {
$('<div>') var $name = $('<div>')
.css(css) .css(css)
.css({marginTop: '12px', fontWeight: 'bold'}) .css({marginTop: '12px', fontWeight: 'bold'})
.html( .html(
@ -674,6 +674,7 @@ pandora.ui.infoView = function(data) {
}).join(', ') + ')' }).join(', ') + ')'
) )
.appendTo($descriptions); .appendTo($descriptions);
pandora.createLinks($name);
Ox.EditableContent({ Ox.EditableContent({
clickLink: pandora.clickLink, clickLink: pandora.clickLink,
editable: canEdit, editable: canEdit,