diff --git a/TODO.todo b/TODO.todo index 7a8e835c53..d5e876e3bf 100644 --- a/TODO.todo +++ b/TODO.todo @@ -2,7 +2,6 @@ neuro for 6.0.10: Editor: - - Add the media back into the editor. - Fix pagination display Typogarden: diff --git a/app/helpers/admin/base_helper.rb b/app/helpers/admin/base_helper.rb index e3a184c46d..00192e723d 100644 --- a/app/helpers/admin/base_helper.rb +++ b/app/helpers/admin/base_helper.rb @@ -250,9 +250,10 @@ def show_thumbnail_for_editor(image) # If something went wrong with thumbnail generation, we just display a place holder thumbnail = (File.exists? thumb) ? "#{this_blog.base_url}/files/thumb_#{image.filename}" : "#{this_blog.base_url}/images/thumb_blank.jpg" - picture = "" + picture = "" + picture << "" + picture << "" return picture end diff --git a/app/views/admin/content/_form.html.erb b/app/views/admin/content/_form.html.erb index e24991d5e6..d88451ed01 100644 --- a/app/views/admin/content/_form.html.erb +++ b/app/views/admin/content/_form.html.erb @@ -99,7 +99,7 @@ <%= text_field 'article', 'title', :class => 'span1', :style => ' width: 99%', :placeholder => _('Title') %> - <%#= render('images', { :images => @images}) unless @images.empty? %> + <%= render('images', { :images => @images}) unless @images.empty? %>