Calendar: Fix recurring event prompt did not have labels or icons on buttons

This commit is contained in:
nathan 2022-08-23 08:54:31 -06:00
parent 6118bf6a7a
commit 81378fe3a5
2 changed files with 12 additions and 3 deletions

View File

@ -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);

View File

@ -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)