From e71f0c20adc4dc2f49bca99a859241fdadf376d3 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Hugo=20H=C3=B6rnquist?= Date: Tue, 30 Nov 2021 01:09:53 +0100 Subject: Rework tab system. This sepparates popup-elements from their tabbed contents, allowing clearer sepparations of concerns, along with easier adding and removing of tabs to the tabset! --- static/components/edit-rrule.ts | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) (limited to 'static/components/edit-rrule.ts') diff --git a/static/components/edit-rrule.ts b/static/components/edit-rrule.ts index a4d09083..6be01b76 100644 --- a/static/components/edit-rrule.ts +++ b/static/components/edit-rrule.ts @@ -6,11 +6,13 @@ import { vcal_objects } from '../globals' import { RecurrenceRule } from '../vevent' -/* */ +/* + Tab for editing the recurrence rule of a component +*/ class EditRRule extends ComponentVEvent { - constructor() { - super(); + constructor(uid?: string) { + super(uid); let frag = this.template.content.cloneNode(true) as DocumentFragment let body = frag.firstElementChild! -- cgit v1.2.3