diff --git a/lsp/functions.js b/lsp/functions.js index 720cbc89..a7988dd2 100644 --- a/lsp/functions.js +++ b/lsp/functions.js @@ -743,7 +743,7 @@ function buildLogsTable(){ for (var i in c) { if (c[i]) { $('#conv-edit-input').append( - $('').val($('#conv-edit-dir').val()+'/'+i).text(i) + $('').val($('#conv-edit-dir').val()+i).text(i) ); j++; } diff --git a/lsp/main.js b/lsp/main.js index c2d4b2ed..49c4d419 100644 --- a/lsp/main.js +++ b/lsp/main.js @@ -61,7 +61,8 @@ $(this).attr('class', 'selected'); // show correct tab - showTab($(this).text()); + var t = $(this).text() || $(this).children('a').text(); + showTab(t); }); }); @@ -1514,7 +1515,9 @@ }); break; - + case 'Mist Shop': + $('#page').append($('').addClass('nocapitals').text('The Mist Shop has been opened in a new tab.')); + break; case 'disconnect': showTab('login'); setHeaderState('disconnected');
').addClass('nocapitals').text('The Mist Shop has been opened in a new tab.')); + break; case 'disconnect': showTab('login'); setHeaderState('disconnected');