plugins/kolab_notes
Thomas Brüderli
bruederli at kolabsys.com
Tue Aug 12 10:01:41 CEST 2014
plugins/kolab_notes/notes_mail.js | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
New commits:
commit c4f76920867f396aa31c53acb898b90480184f1f
Author: Thomas Bruederli <bruederli at kolabsys.com>
Date: Tue Aug 12 10:00:34 2014 +0200
Close notes dialog after saving (#3241)
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');
}
}
More information about the commits
mailing list