make traceback selectable, fixes #397

This commit is contained in:
j 2012-02-16 02:30:38 +05:30
parent 86beba3039
commit eb0e9a79f7

View file

@ -134,7 +134,11 @@ pandora.ui.logsDialog = function() {
})
],
closeButton: true,
content: $('<code>').append($('<pre>').css({margin: '16px'}).html(value.text)),
content: $('<code>').append($('<pre>').css({
margin: '16px',
MozUserSelect: 'text',
WebkitUserSelect: 'text'
}).html(value.text)),
height: height - 48,
keys: {enter: 'close', escape: 'close'},
maximizeButton: true,