From a0b7ceadd312ee1da89e17bb7b2e1873a5b5169f Mon Sep 17 00:00:00 2001 From: rolux Date: Wed, 7 Mar 2012 12:38:42 +0000 Subject: [PATCH] In the annotations dialog for guests, display the layer name, not the layer id --- static/js/pandora/item.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/static/js/pandora/item.js b/static/js/pandora/item.js index 8b7b2a5f5..4dcdb2ea4 100644 --- a/static/js/pandora/item.js +++ b/static/js/pandora/item.js @@ -397,7 +397,7 @@ pandora.ui.item = function() { pandora.ui.importAnnotations().open(); }, info: function(data) { - pandora.ui.annotationDialog(data.layer).open(); + pandora.ui.annotationDialog(Ox.getObjectById(pandora.site.layers, data.layer).title).open(); }, muted: function(data) { pandora.UI.set('videoMuted', data.muted);