aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2017-08-03 18:28:08 -0700
committerzotlabs <mike@macgirvin.com>2017-08-03 18:28:08 -0700
commit06a211704f6d50b11a0e1e56e2824d6431f50946 (patch)
tree8f56e7234d5e603ab5f4a2548fc719189dc4bdcc
parenta618f70f56efdcaaf9da6dcfcab9cce6a933303b (diff)
downloadvolse-hubzilla-06a211704f6d50b11a0e1e56e2824d6431f50946.tar.gz
volse-hubzilla-06a211704f6d50b11a0e1e56e2824d6431f50946.tar.bz2
volse-hubzilla-06a211704f6d50b11a0e1e56e2824d6431f50946.zip
auto preview mail on media insertion also
-rwxr-xr-xview/tpl/msg-header.tpl3
1 files changed, 3 insertions, 0 deletions
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);
});
}