summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2015-03-18 19:23:28 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2015-03-18 19:23:28 (GMT)
commit4f2736373a89f65e544f2ae62979cd471089d7fe (patch)
tree930eee3716963028016ec2e6360202b6ce060bd9
parent0eefd8414fa1c39e803e985ba85b8c7251f67cdb (diff)
downloadroundcubemail-plugins-kolab-4f2736373a89f65e544f2ae62979cd471089d7fe.tar.gz
Fix event changelog dialog handling
-rw-r--r--plugins/calendar/calendar_ui.js8
1 files changed, 4 insertions, 4 deletions
diff --git a/plugins/calendar/calendar_ui.js b/plugins/calendar/calendar_ui.js
index b3bfbe0..ba0760f 100644
--- a/plugins/calendar/calendar_ui.js
+++ b/plugins/calendar/calendar_ui.js
@@ -1022,7 +1022,7 @@ function rcube_calendar_ui(settings)
return false
// render dialog
- $dialog = $('#eventhistory');
+ var $dialog = $('#eventhistory');
// close show dialog first
if ($dialog.is(':ui-dialog'))
@@ -1034,7 +1034,7 @@ function rcube_calendar_ui(settings)
};
// hide and reset changelog table
- $('div.event-dialog-message').remove();
+ $dialog.find('div.event-dialog-message').remove();
$('#event-changelog-table').show().children('tbody')
.html('<tr><td colspan="6"><span class="loading">'+ rcmail.gettext('loading') +'</span></td></tr>');
@@ -1143,8 +1143,8 @@ function rcube_calendar_ui(settings)
change = data[i];
accessible = change.date && change.user;
- if (change.op == 'MOVE' && change.folder) {
- op_append = ' ⇢ ' + change.folder;
+ if (change.op == 'MOVE' && change.mailbox) {
+ op_append = ' ⇢ ' + change.mailbox;
}
else {
op_append = '';