aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMichał Małowski <mike@2501.pl>2014-12-04 13:28:44 +0100
committerMichał Małowski <mike@2501.pl>2014-12-04 13:28:44 +0100
commit5c53ad39a362f132bf539087fb20617a266da881 (patch)
treebb060a10d9cb196f43263a2ef71b9b58569c19db
parent55175e954a84044af29d99092e3fe8a034d39442 (diff)
downloadrefinerycms-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.js2
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();