diff --git a/view/tpl/jot-header.tpl b/view/tpl/jot-header.tpl index 1187cfebb..e2bec2f17 100755 --- a/view/tpl/jot-header.tpl +++ b/view/tpl/jot-header.tpl @@ -675,19 +675,17 @@ let postSaveTimer = null; /* start new function */ - let initializeEmbedPhotoOrFileDialog = function () { - /* + let initializeEmbedFileDialog = function () { + $('.embed-photo-selected-photo').each(function (index) { $(this).removeClass('embed-photo-selected-photo'); }); getPhotoAlbumList(); $('#embedPhotoModalBodyAlbumDialog').off('click'); - */ - + $('#exampleModal').modal('show'); }; - /* end new function */ let initializeEmbedPhotoDialog = function () {