aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/jot-header.tpl
diff options
context:
space:
mode:
authorzotlabs <mike@macgirvin.com>2019-03-04 14:50:33 -0800
committerzotlabs <mike@macgirvin.com>2019-03-04 14:50:33 -0800
commit9ede57b228b7baf9e1bc5881d33ebf55773af7a3 (patch)
tree1dcbf86f3d652c908ecb1b12b970bbfccaf550b8 /view/tpl/jot-header.tpl
parent29cb62af3dba0a6a2891800cfe97578c1a2819ae (diff)
parente074d02714db4722384431e68bb8c26d3b3caf99 (diff)
downloadvolse-hubzilla-9ede57b228b7baf9e1bc5881d33ebf55773af7a3.tar.gz
volse-hubzilla-9ede57b228b7baf9e1bc5881d33ebf55773af7a3.tar.bz2
volse-hubzilla-9ede57b228b7baf9e1bc5881d33ebf55773af7a3.zip
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'view/tpl/jot-header.tpl')
-rwxr-xr-xview/tpl/jot-header.tpl10
1 files changed, 5 insertions, 5 deletions
diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl
index 9a44f1a54..afaaa62d9 100755
--- a/view/tpl/jot-header.tpl
+++ b/view/tpl/jot-header.tpl
@@ -427,7 +427,9 @@ var activeCommentText = '';
var imageparent = document.getElementById($(image).parent()[0].id);
$(imageparent).toggleClass('embed-photo-selected-photo');
var href = $(imageparent).attr('href');
- $.post("embedphotos/photolink", {href: href},
+ $.post(
+ "embedphotos/photolink",
+ {href: href},
function(ddata) {
if (ddata['status']) {
addeditortext(ddata['photolink']);
@@ -437,10 +439,8 @@ var activeCommentText = '';
}
return false;
},
- 'json');
- $('#embedPhotoModalBodyAlbumDialog').html('');
- $('#embedPhotoModalBodyAlbumDialog').off('click');
- $('#embedPhotoModal').modal('hide');
+ 'json'
+ );
}
});
$('#embedPhotoModalBodyAlbumListDialog').addClass('d-none');