diff options
-rw-r--r-- | app/assets/javascripts/refinery/blog/backend.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/app/assets/javascripts/refinery/blog/backend.js b/app/assets/javascripts/refinery/blog/backend.js index 695cdb7..77529c5 100644 --- a/app/assets/javascripts/refinery/blog/backend.js +++ b/app/assets/javascripts/refinery/blog/backend.js @@ -53,7 +53,7 @@ $(document).ready(function(){ $('#page-tabs').tabs(); $('#copy_body_link').click(function(event) { // Find the WYMEditor that maps to the custom_teaser field - var teaserTextArea = $('#blog_post_custom_teaser')[0]; + var teaserTextArea = $('#post_custom_teaser')[0]; var teaserEditor = null; $.each(WYMeditor.INSTANCES, function(index, editor) { if (editor._element[0] == teaserTextArea) { @@ -62,7 +62,7 @@ $(document).ready(function(){ }); if (teaserEditor) { - teaserEditor.html($('#blog_post_body').attr('value')); + teaserEditor.html($('#post_body').attr('value')); } event.preventDefault(); |