EspoCRM – Open Source CRM Application
PHP calendarcontactscrmcrm-platformcrm-systemcustomer-portalcustomer-supportcustomizabledocumentsemail-marketingkanbanleadsopen-sourcephpplatformsales-automationsingle-page-applicationsupport
Buttons html support revert
Yurii2d6f0b89dd8b
diff --git a/client/src/views/record/detail/buttons.ts b/client/src/views/record/detail/buttons.tsindex f4b261cf65..c835bba950 100644--- a/client/src/views/record/detail/buttons.ts+++ b/client/src/views/record/detail/buttons.ts@@ -74,6 +74,7 @@ export default class DetailRecordButtonsView extends View<{hidden: it.hidden,disabled: it.disabled || data.allDisabled,iconClass: it.iconClass,+ html: it.html,}).node());});@@ -121,6 +122,7 @@ export default class DetailRecordButtonsView extends View<{className: data.actionClassName,hidden: it.hidden,disabled: it.disabled || data.allDisabled,+ html: it.html,}).node());});diff --git a/client/src/views/templates/event/record/detail.js b/client/src/views/templates/event/record/detail.jsindex 5577ab8ff1..b092d4e156 100644--- a/client/src/views/templates/event/record/detail.js+++ b/client/src/views/templates/event/record/detail.js@@ -36,13 +36,13 @@ export default class extends DetailRecordView {if (this.getAcl().checkModel(this.model, 'edit')) {if (['Held', 'Not Held'].indexOf(this.model.get('status')) === -1) {this.dropdownItemList.push({- html: this.translate('Set Held', 'labels', this.scope),+ labelTranslation: `${this.scope}.labels.Set Held`,name: 'setHeld',onClick: () => this.actionSetHeld(),});this.dropdownItemList.push({- html: this.translate('Set Not Held', 'labels', this.scope),+ labelTranslation: `${this.scope}.labels.Set Not Held`,name: 'setNotHeld',onClick: () => this.actionSetNotHeld(),});