diff --git a/lsp/footer.html b/lsp/footer.html index 37baf7a8..2573fe54 100644 --- a/lsp/footer.html +++ b/lsp/footer.html @@ -1,23 +1,14 @@ - - - - - - -
- - diff --git a/lsp/functions.js b/lsp/functions.js index f3aad1b3..9afe2a53 100644 --- a/lsp/functions.js +++ b/lsp/functions.js @@ -346,7 +346,7 @@ delete data.statistics; // same goes for the stats //IE breaks if the console isn't opened, so keep commented when committing - //console.log('[763] SEND', data); + console.log('[763] SEND', data); $.ajax( { diff --git a/lsp/main.js b/lsp/main.js index c5ca0a75..39b3c310 100644 --- a/lsp/main.js +++ b/lsp/main.js @@ -100,6 +100,10 @@ clearInterval(pinterval); clearInterval(logsinterval); + $('#page').removeClass('LTS-only'); + $('#page').off('mouseenter mouseleave'); + removeTooltip(); + switch(name) { case 'login': @@ -522,7 +526,7 @@ $selectprotocol = $('').attr('type', 'text').attr('placeholder', 'SOURCE').attr('id', 'stream-edit-source').attr('value', sdata.source).keyup(function() - { + $('').attr('type', 'text').attr('placeholder', '/path/name.dtsc or push://host/name').attr('id', 'stream-edit-source').attr('value', sdata.source).keyup(function(){ var text = $(this).val(); - - /* - if(text.charAt(0) == '/' || text.substr(0, 7) == 'push://') - { - $('#stream-edit-preset').val(''); - $('#stream-edit-preset').hide(); - $('#stream-edit-preset-label').hide(); - }else{ - $('#stream-edit-preset').show(); - $('#stream-edit-preset-label').show(); + if(text.charAt(0) == '/'){ + $('.live-only').hide(); + $('.live-only').children('label').children('input').val(''); } - */ - - if(text.charAt(0) == '/') - { - $('#stream-edit-buffer').val(''); - $('#stream-edit-buffer').hide(); - $('#stream-edit-buffer-label').hide(); - }else{ - $('#stream-edit-buffer').show(); - $('#stream-edit-buffer-label').show(); + else{ + $('.live-only').show(); } }) ) ) - /*.append( - $('