1
0
Fork 0
mirror of https://github.com/jellyfin/jellyfin-web synced 2025-03-30 19:56:21 +00:00

always keep confirm in the same location

This commit is contained in:
dkanada 2019-09-05 12:41:39 -07:00
parent 6d3c617c28
commit f862838458
8 changed files with 9 additions and 9 deletions

View file

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

View file

@ -7,7 +7,7 @@ define(["loading", "libraryMenu", "dom", "globalize", "cardStyle", "emby-button"
confirm({
title: globalize.translate("UninstallPluginHeader"),
text: msg,
primary: "ok",
primary: "delete",
confirmText: globalize.translate("UninstallPluginHeader")
}).then(function() {
loading.show();

View file

@ -9,7 +9,7 @@ define(["loading", "dom", "globalize", "humanedate", "paper-icon-button-light",
title: globalize.translate("DeleteUser"),
text: msg,
confirmText: globalize.translate("ButtonDelete"),
primary: "ok"
primary: "delete"
}).then(function () {
loading.show();
ApiClient.deleteUser(id).then(function () {