add error message to log panel, too

This commit is contained in:
Jakob Ketterl 2019-12-23 21:21:45 +01:00
parent 11cfca5211
commit eec35f07c3

View File

@ -1135,6 +1135,7 @@ function on_ws_recv(evt) {
bookmarks.replace_bookmarks(json['value'], "server");
break;
case "sdr_error":
divlog(json['value'], true);
var $overlay = $('#openwebrx-error-overlay');
$overlay.find('.errormessage').text(json['value']);
$overlay.show();