summaryrefslogtreecommitdiff
path: root/plugins/kolab_notes
diff options
context:
space:
mode:
authorThomas Bruederli <bruederli@kolabsys.com>2014-08-12 08:00:34 (GMT)
committerThomas Bruederli <bruederli@kolabsys.com>2014-08-12 08:01:34 (GMT)
commitc4f76920867f396aa31c53acb898b90480184f1f (patch)
treea04af228cbf8706aad65d7ebffdb4577c0912dd1 /plugins/kolab_notes
parent182c0a3941190799000fa945a0ab00448326ffa0 (diff)
downloadroundcubemail-plugins-kolab-c4f76920867f396aa31c53acb898b90480184f1f.tar.gz
Close notes dialog after saving (#3241)
Diffstat (limited to 'plugins/kolab_notes')
-rw-r--r--plugins/kolab_notes/notes_mail.js3
1 files changed, 2 insertions, 1 deletions
diff --git a/plugins/kolab_notes/notes_mail.js b/plugins/kolab_notes/notes_mail.js
index 3f1103f..7b925f2 100644
--- a/plugins/kolab_notes/notes_mail.js
+++ b/plugins/kolab_notes/notes_mail.js
@@ -129,7 +129,8 @@ window.rcmail && rcmail.addEventListener('init', function(evt) {
var win = rcmail.env.contentframe ? rcmail.get_frame_window(rcmail.env.contentframe) : mywin;
if (win && e.response) {
win.location.reload();
- // $dialog.dialog('close');
+ if (e.response.action == 'action')
+ $('#kolabnotesinlinegui').dialog('close');
}
}