mirror of
https://github.com/espocrm/espocrm.git
synced 2026-07-01 08:26:04 +00:00
remove cancel buttons from 2 modals
This commit is contained in:
@@ -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');
|
||||
|
||||
|
||||
@@ -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>';
|
||||
|
||||
|
||||
Reference in New Issue
Block a user