change primary id that have delete, uninstall

This commit is contained in:
grafixeyehero 2019-09-01 18:52:36 +03:00
parent babb4f1028
commit 6d3c617c28
5 changed files with 11 additions and 11 deletions

View file

@ -59,7 +59,7 @@ define(["loading", "dialogHelper", "dom", "components/libraryoptionseditor/libra
title: Globalize.translate("HeaderRemoveMediaLocation"),
text: Globalize.translate("MessageConfirmRemoveMediaLocation"),
confirmText: Globalize.translate("ButtonDelete"),
primary: "cancel"
primary: "ok"
}).then(function() {
var refreshAfterChange = currentOptions.refresh;
ApiClient.removeMediaPath(virtualFolder.Name, location, refreshAfterChange).then(function() {
@ -212,4 +212,4 @@ define(["loading", "dialogHelper", "dom", "components/libraryoptionseditor/libra
var isCreating = false;
return editor;
});
});