diff options
Diffstat (limited to 'static/jcal.js')
-rw-r--r-- | static/jcal.js | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/static/jcal.js b/static/jcal.js index 38aeaae9..da17a19e 100644 --- a/static/jcal.js +++ b/static/jcal.js @@ -26,7 +26,12 @@ function jcal_type_to_xcal(doc, type, value) { break; case 'recur': - el.appendChild(recur_jcal_to_rrule(value).asXcal(doc)); + for (var key in value) { + if (! value.hasOwnProperty(key)) continue; + let e = doc.createElementNS(xcal, key); + e.innerHTML = value[key]; + el.appendChild(e); + } break; case 'date': |