From eb0e9a79f794ca169d3b03fe15ffae91a470097d Mon Sep 17 00:00:00 2001 From: j <0x006A@0x2620.org> Date: Thu, 16 Feb 2012 02:30:38 +0530 Subject: [PATCH] make traceback selectable, fixes #397 --- static/js/pandora/logsDialog.js | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/static/js/pandora/logsDialog.js b/static/js/pandora/logsDialog.js index 4e46c156..592c0081 100644 --- a/static/js/pandora/logsDialog.js +++ b/static/js/pandora/logsDialog.js @@ -134,7 +134,11 @@ pandora.ui.logsDialog = function() { }) ], closeButton: true, - content: $('').append($('
').css({margin: '16px'}).html(value.text)),
+                            content: $('').append($('
').css({
+                                margin: '16px',
+                                MozUserSelect: 'text',
+                                WebkitUserSelect: 'text'
+                            }).html(value.text)),
                             height: height - 48,
                             keys: {enter: 'close', escape: 'close'},
                             maximizeButton: true,