diff options
author | Thomas Bruederli <bruederli@kolabsys.com> | 2014-08-12 08:00:34 (GMT) |
---|---|---|
committer | Thomas Bruederli <bruederli@kolabsys.com> | 2014-08-12 08:01:34 (GMT) |
commit | c4f76920867f396aa31c53acb898b90480184f1f (patch) | |
tree | a04af228cbf8706aad65d7ebffdb4577c0912dd1 | |
parent | 182c0a3941190799000fa945a0ab00448326ffa0 (diff) | |
download | roundcubemail-plugins-kolab-c4f76920867f396aa31c53acb898b90480184f1f.tar.gz |
Close notes dialog after saving (#3241)
-rw-r--r-- | plugins/kolab_notes/notes_mail.js | 3 |
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'); } } |