aboutsummaryrefslogtreecommitdiff
path: root/static/components/edit-rrule.ts
diff options
context:
space:
mode:
authorHugo Hörnquist <hugo@lysator.liu.se>2021-11-30 01:09:53 +0100
committerHugo Hörnquist <hugo@lysator.liu.se>2021-11-30 01:09:53 +0100
commite71f0c20adc4dc2f49bca99a859241fdadf376d3 (patch)
tree3231d1e491fcd1ed9dc0ab31cac4fdedb733807d /static/components/edit-rrule.ts
parentChange UID resolve. (diff)
downloadcalp-e71f0c20adc4dc2f49bca99a859241fdadf376d3.tar.gz
calp-e71f0c20adc4dc2f49bca99a859241fdadf376d3.tar.xz
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!
Diffstat (limited to '')
-rw-r--r--static/components/edit-rrule.ts8
1 files changed, 5 insertions, 3 deletions
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'
-/* <vevent-edit-rrule/> */
+/* <vevent-edit-rrule/>
+ 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!