From af34b285440ccf5bd8443f44e17f5bc3ab0f43a4 Mon Sep 17 00:00:00 2001 From: Cat <carinasadres@gmail.com> Date: Tue, 10 Sep 2013 10:36:13 +0200 Subject: [PATCH] LSP: shop clarification + removed double / at conversion input file --- lsp/functions.js | 2 +- lsp/main.js | 7 +++++-- 2 files changed, 6 insertions(+), 3 deletions(-) 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( - $('<option>').val($('#conv-edit-dir').val()+'/'+i).text(i) + $('<option>').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($('<p>').addClass('nocapitals').text('The Mist Shop has been opened in a new tab.')); + break; case 'disconnect': showTab('login'); setHeaderState('disconnected');