some for devices

This commit is contained in:
grafixeyehero 2019-09-01 18:38:23 +03:00
parent d53a095728
commit babb4f1028

View File

@ -12,7 +12,7 @@ define(["loading", "dom", "libraryMenu", "globalize", "scripts/imagehelper", "hu
text: msg, text: msg,
title: globalize.translate("HeaderDeleteDevice"), title: globalize.translate("HeaderDeleteDevice"),
confirmText: globalize.translate("ButtonDelete"), confirmText: globalize.translate("ButtonDelete"),
primary: "cancel" primary: "ok"
}).then(function() { }).then(function() {
loading.show(), ApiClient.ajax({ loading.show(), ApiClient.ajax({
type: "DELETE", type: "DELETE",
@ -112,4 +112,4 @@ define(["loading", "dom", "libraryMenu", "globalize", "scripts/imagehelper", "hu
loadData(this) loadData(this)
}) })
} }
}); });