diff options
author | Michał Małowski <mike@2501.pl> | 2014-12-04 13:28:44 +0100 |
---|---|---|
committer | Michał Małowski <mike@2501.pl> | 2014-12-04 13:28:44 +0100 |
commit | 5c53ad39a362f132bf539087fb20617a266da881 (patch) | |
tree | bb060a10d9cb196f43263a2ef71b9b58569c19db | |
parent | 55175e954a84044af29d99092e3fe8a034d39442 (diff) | |
download | refinerycms-blog-5c53ad39a362f132bf539087fb20617a266da881.tar.gz refinerycms-blog-5c53ad39a362f132bf539087fb20617a266da881.tar.bz2 refinerycms-blog-5c53ad39a362f132bf539087fb20617a266da881.zip |
fix Copy Post Body to Teaser
-rw-r--r-- | app/assets/javascripts/refinery/blog/backend.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/assets/javascripts/refinery/blog/backend.js b/app/assets/javascripts/refinery/blog/backend.js index 4d4b274..f27f837 100644 --- a/app/assets/javascripts/refinery/blog/backend.js +++ b/app/assets/javascripts/refinery/blog/backend.js @@ -62,7 +62,7 @@ $(document).ready(function(){ }); if (teaserEditor) { - teaserEditor.html($('#post_body').attr('value')); + teaserEditor.html($('#post_body').val()); } event.preventDefault(); |