From 7866ce090b70d84cb408a96c09d327d43681b8fd Mon Sep 17 00:00:00 2001 From: Cat Date: Mon, 21 Sep 2020 13:34:00 +0200 Subject: [PATCH] LSP: preview tab: more information about failing to load player.js --- lsp/minified.js | 16 ++++++++-------- lsp/mist.js | 6 +++++- 2 files changed, 13 insertions(+), 9 deletions(-) diff --git a/lsp/minified.js b/lsp/minified.js index a88458a6..262ec4ec 100644 --- a/lsp/minified.js +++ b/lsp/minified.js @@ -139,14 +139,14 @@ help:"To enable encryption, the licence acquisition url must be entered, as well index:"keyid"}},{label:"Key seed",type:"str",LTSonly:!0,pointer:{main:o,index:"keyseed"}},{type:"buttons",buttons:[{type:"cancel",label:"Cancel","function":function(){UI.navto("Streams")}},{type:"save",label:"Save","function":function(){Ia("Streams")}},{type:"save",label:"Save and Preview","function":function(){Ia("Preview")},classes:["saveandpreview"]}]}]));c.find("[name=name]").keyup(function(){ma()});ma();break;case "Preview":""==b&&UI.navto("Streams");var N=parseURL(mist.user.host),U=N.protocol, R=N.host,G=":8080",u=U+R+G+"/";for(r in mist.data.config.protocols)if(s=mist.data.config.protocols[r],"HTTP"==s.connector||"HTTP.exe"==s.connector){s.pubaddr?u="string"==typeof s.pubaddr?s.pubaddr.replace(/\/$/,"")+"/":s.pubaddr[0].replace(/\/$/,"")+"/":(G=s.port?":"+s.port:":8080",u=U+R+G+"/");break}var Q=$("
").css({display:"flex","flex-flow":"row wrap","flex-shrink":1,"min-width":"auto"}),V="";-1==b.indexOf("+")&&(V=$("