|
|
@ -2410,7 +2410,8 @@ define([
|
|
|
|
}];
|
|
|
|
}];
|
|
|
|
if (hasOwned) {
|
|
|
|
if (hasOwned) {
|
|
|
|
buttons.push({
|
|
|
|
buttons.push({
|
|
|
|
className: 'secondary',
|
|
|
|
className: 'danger',
|
|
|
|
|
|
|
|
iconClass: '.cptools.cptools-destroy',
|
|
|
|
name: Messages.fc_delete_owned,
|
|
|
|
name: Messages.fc_delete_owned,
|
|
|
|
onClick: function () {
|
|
|
|
onClick: function () {
|
|
|
|
manager.emptyTrash(true, refresh);
|
|
|
|
manager.emptyTrash(true, refresh);
|
|
|
@ -2421,6 +2422,7 @@ define([
|
|
|
|
buttons.push({
|
|
|
|
buttons.push({
|
|
|
|
className: 'primary',
|
|
|
|
className: 'primary',
|
|
|
|
// We may want to use a new key here
|
|
|
|
// We may want to use a new key here
|
|
|
|
|
|
|
|
iconClass: '.fa.fa-trash',
|
|
|
|
name: hasOwned ? Messages.fc_remove : Messages.okButton,
|
|
|
|
name: hasOwned ? Messages.fc_remove : Messages.okButton,
|
|
|
|
onClick: function () {
|
|
|
|
onClick: function () {
|
|
|
|
manager.emptyTrash(false, refresh);
|
|
|
|
manager.emptyTrash(false, refresh);
|
|
|
|