Skip to content

Commit

Permalink
fix baserproject#3111 ブログ記事詳細画面のプレビューが動作しない(BurgerEditorを入れた時など)件を修正
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
kaburk committed Mar 4, 2024
1 parent 0ad43ed commit 34f95d6
Show file tree
Hide file tree
Showing 11 changed files with 33 additions and 33 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -51,8 +51,8 @@ $(function () {
} else {
previewurl += '?url=' + fullUrl + '&preview=' + previewMode;
}
if (typeof $.bcCkeditor.editor.editor_contents_tmp !== "undefined") {
$.bcCkeditor.editor.editor_contents_tmp.execCommand('synchronize');
if (typeof $.bcCkeditor.editor.editor_detail_tmp !== "undefined") {
$.bcCkeditor.editor.editor_detail_tmp.execCommand('synchronize');
}
form.attr('target', 'preview');
form.attr('action', previewurl);
Expand All @@ -70,8 +70,8 @@ $(function () {
*/
$("#BtnSave").click(function () {
$.bcUtil.showLoader();
if (typeof $.bcCkeditor.editor.editor_contents_tmp !== "undefined") {
$.bcCkeditor.editor.editor_contents_tmp.execCommand('synchronize');
if (typeof $.bcCkeditor.editor.editor_detail_tmp !== "undefined") {
$.bcCkeditor.editor.editor_detail_tmp.execCommand('synchronize');
}
$("#BlogPostMode").val('save');
$.bcToken.check(function () {
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 34f95d6

Please sign in to comment.