diff options
author | Devaev Maxim <[email protected]> | 2018-08-27 13:13:49 +0300 |
---|---|---|
committer | Devaev Maxim <[email protected]> | 2018-08-27 13:13:49 +0300 |
commit | a8773eab1e8f82a7bd862492e5520dcb9690a5e0 (patch) | |
tree | 77c8caeaf749073e26ef50e83c44b784312dd79b /kvmd/web/js/stream.js | |
parent | 47a077a3b7d7ccadf8a1adcd608ffe61ac5bf818 (diff) |
own modals - first implementation
Diffstat (limited to 'kvmd/web/js/stream.js')
-rw-r--r-- | kvmd/web/js/stream.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/kvmd/web/js/stream.js b/kvmd/web/js/stream.js index baee87c1..d6147310 100644 --- a/kvmd/web/js/stream.js +++ b/kvmd/web/js/stream.js @@ -60,7 +60,7 @@ function Stream(ui) { var http = tools.makeRequest("POST", "/kvmd/streamer/reset", function() { if (http.readyState === 4) { if (http.status !== 200) { - alert("Can't reset stream:", http.responseText); + modal.error("Can't reset stream:<br>", http.responseText); } } }); @@ -73,7 +73,7 @@ function Stream(ui) { var http = tools.makeRequest("POST", "/kvmd/streamer/set_params?resolution=" + resolution, function() { if (http.readyState === 4) { if (http.status !== 200) { - alert("Can't change stream:", http.responseText); + modal.error("Can't configure stream:<br>", http.responseText); } } }); |