diff --git a/api/js/etemplate/Et2Button/Et2Button.ts b/api/js/etemplate/Et2Button/Et2Button.ts index e96d4a5621..9dedabb978 100644 --- a/api/js/etemplate/Et2Button/Et2Button.ts +++ b/api/js/etemplate/Et2Button/Et2Button.ts @@ -18,6 +18,14 @@ import {PropertyValues} from "@lion/core"; export class Et2Button extends ButtonMixin(Et2InputWidget(SlButton)) { + static get properties() + { + return { + ...super.properties, + label: {type: String} + } + } + protected firstUpdated(_changedProperties : PropertyValues) { super.firstUpdated(_changedProperties); diff --git a/calendar/js/et2_widget_event.ts b/calendar/js/et2_widget_event.ts index 423564a995..057fcb90f5 100644 --- a/calendar/js/et2_widget_event.ts +++ b/calendar/js/et2_widget_event.ts @@ -1349,10 +1349,11 @@ export class et2_calendar_event extends et2_valueWidget implements et2_IDetached label: egw.lang("Edit exception"), id: "exception", class: "ui-priority-primary", - "default": true + default: true, + image: 'edit' }, - {label: egw.lang("Edit series"), id: "series"}, - {label: egw.lang("Cancel"), id: "cancel"} + {label: egw.lang("Edit series"), id: "series", image: 'recur'}, + {label: egw.lang("Cancel"), id: "cancel", image: 'cancel'} ]; Et2Dialog.show_dialog( function(button_id)