use click handler for list info fixes #459

This commit is contained in:
j 2012-02-16 21:03:30 +05:30
parent d7a20821d6
commit d176990b92
2 changed files with 3 additions and 1 deletions

View file

@ -305,6 +305,7 @@ pandora.ui.home = function() {
+ lists[selected].description
)
.appendTo($lists);
pandora.createLinks($text);
$icon = Ox.Element({
element: '<img>',
tooltip: 'View List'
@ -435,7 +436,7 @@ pandora.ui.home = function() {
selectList(lists.length - 1);
}
}
}
};
Ox.$document.bind({keydown: self.keydown});
}
lists.forEach(function(list, i) {

View file

@ -207,6 +207,7 @@ pandora.ui.listInfo = function() {
$('<div>').css({height: '8px'})
).append(
$description = Ox.Editable({
clickLink: pandora.clickLink,
format: function(value) {
return '<div style="color: rgb(128, 128, 128); text-align: center">'
+ value + '</div>';