mirror of
https://github.com/mofeng-git/One-KVM.git
synced 2025-12-13 01:30:31 +08:00
Fixed pikvm/pikvm#189: verbose removing message
This commit is contained in:
parent
786aa1d19b
commit
ecdc65ceb3
@ -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) {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user