update indiancinema info view

This commit is contained in:
rolux 2013-02-28 14:09:37 +05:30
parent 128e9fb962
commit 97d1c337f8

View file

@ -151,8 +151,6 @@ pandora.ui.infoView = function(data) {
$browserImages = []; $browserImages = [];
//pandora.createLinks($text); // FIXME: this is wrong for editables that already have clickLink
// Title ------------------------------------------------------------------- // Title -------------------------------------------------------------------
$('<div>') $('<div>')
@ -299,9 +297,9 @@ pandora.ui.infoView = function(data) {
.bindEvent({ .bindEvent({
click: function(data) { click: function(data) {
if (data.id == 'imdb') { if (data.id == 'imdb') {
pandora.$ui.idDialog = pandora.ui.idDialog(data).open(); pandora.$ui.idDialog = pandora.ui.idDialog(Ox.clone(data, true)).open();
} else if (data.id == 'metadata') { } else if (data.id == 'metadata') {
pandora.$ui.metadataDialog = pandora.ui.metadataDialog(data).open(); pandora.$ui.metadataDialog = pandora.ui.metadataDialog(Ox.clone(data, true)).open();
} else if (data.id == 'delete') { } else if (data.id == 'delete') {
pandora.$ui.deleteItemDialog = pandora.ui.deleteItemDialog(data).open(); pandora.$ui.deleteItemDialog = pandora.ui.deleteItemDialog(data).open();
} }
@ -729,6 +727,7 @@ pandora.ui.infoView = function(data) {
} else if (key == 'imdbId') { } else if (key == 'imdbId') {
$imdb = $('<span>') $imdb = $('<span>')
.appendTo($element); .appendTo($element);
pandora.createLinks($imdb);
} }
} }
}); });