Skip to content

Commit

Permalink
News 記事の本文が保存されない問題 fix #3189
Browse files Browse the repository at this point in the history
  • Loading branch information
ryuring committed Mar 3, 2024
1 parent cba4e2e commit 0fc2e1a
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 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.

Loading

0 comments on commit 0fc2e1a

Please sign in to comment.