Fixed pikvm/pikvm#189: verbose removing message

This commit is contained in:
Devaev Maxim 2021-02-16 01:06:53 +03:00
parent 786aa1d19b
commit ecdc65ceb3

View File

@ -71,7 +71,7 @@ export function Msd() {
var __clickRemoveImageButton = function() { var __clickRemoveImageButton = function() {
let name = $("msd-image-selector").value; let name = $("msd-image-selector").value;
wm.confirm(`Are you sure you want to remove<br>the image <b>${name}</b>?`).then(function(ok) { wm.confirm(`Are you sure you want to remove the image<br><b>${name}</b> from Pi-KVM?`).then(function(ok) {
if (ok) { if (ok) {
let http = tools.makeRequest("POST", `/api/msd/remove?image=${name}`, function() { let http = tools.makeRequest("POST", `/api/msd/remove?image=${name}`, function() {
if (http.readyState === 4) { if (http.readyState === 4) {