# HG changeset patch # User Charlie Root # Date 1515854372 18000 # Node ID ff1f27bd05adcceb6a928ee77b8c9af04047b2b5 # Parent d57f154e7764a339e1717621005edd162b1580dc partial success in getting back_link to message when making event from mail diff -r d57f154e7764 -r ff1f27bd05ad plugins/calendar/calendar_ui.js --- a/plugins/calendar/calendar_ui.js Sat Jan 13 09:38:33 2018 -0500 +++ b/plugins/calendar/calendar_ui.js Sat Jan 13 09:39:32 2018 -0500 @@ -399,7 +399,8 @@ if (event.location) $('#event-location').html('@ ' + text2html(event.location)).show(); if (event.description) - $('#event-description').show().children('.event-text').html(text2html(event.description, 300, 6)); + $('#event-description').show().html(event.description); + //children('.event-text').html(text2html(event.description, 300, 6)); if (event.vurl) $('#event-url').show().children('.event-text').html(render_link(event.vurl)); @@ -670,7 +671,6 @@ // event details var title = $('#edit-title').val(event.title || ''); var location = $('#edit-location').val(event.location || ''); - var description = $('#edit-description').text(event.description || ''); var vurl = $('#edit-url').val(event.vurl || ''); var categories = $('#edit-categories').val(event.categories); var calendars = $('#edit-calendar').val(event.calendar); @@ -722,12 +722,16 @@ $('