aboutsummaryrefslogtreecommitdiffstats
path: root/app
diff options
context:
space:
mode:
authorPhilip Arndt <git@p.arndt.io>2015-05-14 09:49:58 +1200
committerPhilip Arndt <git@p.arndt.io>2015-05-14 09:49:58 +1200
commitbb0d3b0da633053c0236bdbe5a9452ae9655fda7 (patch)
tree4a898ac80909b4d0c60095b66b1215f9a1ca6f55 /app
parent6200b4433341c905dcb3c6f716b7659edd768368 (diff)
parent5c53ad39a362f132bf539087fb20617a266da881 (diff)
downloadrefinerycms-blog-bb0d3b0da633053c0236bdbe5a9452ae9655fda7.tar.gz
refinerycms-blog-bb0d3b0da633053c0236bdbe5a9452ae9655fda7.tar.bz2
refinerycms-blog-bb0d3b0da633053c0236bdbe5a9452ae9655fda7.zip
Merge pull request #397 from no17436/copy-post-to-teaser-fix
fix Copy Post Body to Teaser
Diffstat (limited to 'app')
-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();