In the annotations dialog for guests, display the layer name, not the layer id

This commit is contained in:
rolux 2012-03-07 12:38:42 +00:00
parent e3b5e2a6e7
commit a0b7ceadd3

View file

@ -397,7 +397,7 @@ pandora.ui.item = function() {
pandora.ui.importAnnotations().open(); pandora.ui.importAnnotations().open();
}, },
info: function(data) { info: function(data) {
pandora.ui.annotationDialog(data.layer).open(); pandora.ui.annotationDialog(Ox.getObjectById(pandora.site.layers, data.layer).title).open();
}, },
muted: function(data) { muted: function(data) {
pandora.UI.set('videoMuted', data.muted); pandora.UI.set('videoMuted', data.muted);