remove cancel buttons from 2 modals

This commit is contained in:
yuri
2019-05-17 16:38:41 +03:00
parent ac96ebffa5
commit 09c19bbba5
2 changed files with 0 additions and 14 deletions

View File

@@ -52,13 +52,6 @@ define('views/modals/add-dashlet', 'views/modal', function (Dep) {
},
},
buttonList: [
{
name: 'cancel',
label: 'Cancel'
}
],
setup: function () {
this.headerHtml = this.translate('Add Dashlet');

View File

@@ -49,13 +49,6 @@ Espo.define('views/modals/last-viewed', ['views/modal', 'search-manager'], funct
setup: function () {
Dep.prototype.setup.call(this);
this.buttonList = [
{
name: 'cancel',
label: 'Close'
}
];
this.headerHtml = this.getLanguage().translate('LastViewed', 'scopeNamesPlural');
this.headerHtml = '<a href="#LastViewed" class="action" data-action="listView">' + this.headerHtml + '</a>';