From 5c53ad39a362f132bf539087fb20617a266da881 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Micha=C5=82=20Ma=C5=82owski?= Date: Thu, 4 Dec 2014 13:28:44 +0100 Subject: fix Copy Post Body to Teaser --- app/assets/javascripts/refinery/blog/backend.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app') 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(); -- cgit v1.2.3