change class name

This commit is contained in:
grafixeyehero 2019-09-01 18:24:56 +03:00
parent a8f904dc42
commit d53a095728
8 changed files with 37 additions and 2 deletions

View file

@ -24,7 +24,7 @@ define(['dialog', 'globalize'], function (dialog, globalize) {
items.push({
name: options.confirmText || globalize.translate('ButtonOk'),
id: 'ok',
type: options.primary === 'cancel' ? 'cancel' : 'submit'
type: options.primary === 'cancel' ? 'cancel' : 'delete'
});
options.buttons = items;
@ -37,4 +37,4 @@ define(['dialog', 'globalize'], function (dialog, globalize) {
return Promise.reject();
});
};
});
});