From 06a211704f6d50b11a0e1e56e2824d6431f50946 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Thu, 3 Aug 2017 18:28:08 -0700 Subject: auto preview mail on media insertion also --- view/tpl/msg-header.tpl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'view/tpl/msg-header.tpl') diff --git a/view/tpl/msg-header.tpl b/view/tpl/msg-header.tpl index 0e8fb0389..48bf5de4b 100755 --- a/view/tpl/msg-header.tpl +++ b/view/tpl/msg-header.tpl @@ -20,6 +20,7 @@ $('#jot-media').val($('#jot-media').val() + data.result.message); }, stop: function(e,data) { + preview_mail(); $('#prvmail-rotator').spin(false); }, }); @@ -36,6 +37,7 @@ $('#prvmail-rotator').spin('tiny'); $.get('linkinfo?f=&url=' + reply, function(data) { addmailtext(data); + preview_mail(); $('#prvmail-rotator').spin(false); }); } @@ -62,6 +64,7 @@ $('#prvmail-rotator').spin('tiny'); $.get('linkinfo?f=&url=' + reply, function(data) { addmailtext(data); + preview_mail(); $('#prvmail-rotator').spin(false); }); } -- cgit v1.2.3