From 01526a9a79294fe5f96b7c3bfbd362f91feec433 Mon Sep 17 00:00:00 2001 From: zotlabs Date: Tue, 1 Aug 2017 19:02:42 -0700 Subject: add auto post preview to 'select photo from albums' --- view/tpl/jot-header.tpl | 1 + 1 file changed, 1 insertion(+) (limited to 'view/tpl/jot-header.tpl') diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl index 8adef6427..815d17c3c 100755 --- a/view/tpl/jot-header.tpl +++ b/view/tpl/jot-header.tpl @@ -423,6 +423,7 @@ function enableOnUser(){ function(ddata) { if (ddata['status']) { addeditortext(ddata['photolink']); + preview_post(); } else { window.console.log("{{$modalerrorlink}}" + ':' + ddata['errormsg']); } -- cgit v1.2.3