Permalink
Browse files

pull dragdrop from js root instead of admin

  • Loading branch information...
1 parent 534e76f commit 3a6724f4e5f3d5c3aba2f035753e1187863b57f9 @saturnflyer saturnflyer committed Feb 21, 2010
Showing with 4 additions and 4 deletions.
  1. +1 −1 app/models/page_attachments_interface.rb
  2. +3 −3 app/views/admin/page_attachments/index.html.haml
@@ -12,7 +12,7 @@ def add_page_attachment_partials
@buttons_partials ||= []
@buttons_partials << "attachments_box"
include_javascript 'admin/lowpro'
- include_javascript 'admin/dragdrop'
+ include_javascript 'dragdrop'
@johnmuhl

johnmuhl Apr 30, 2010

Contributor

does that really work for you? over here is it giving me a 404 and causing some breakage in the attachments ui.

@saturnflyer

saturnflyer May 1, 2010

Owner

I was working on this between 0.8 and 0.9 of radiant so I must have inadvertently done that. But I've removed this file in favor of just adding the files in the view (which also had this problem) that I've fixed in 690a270
Thanks for catching it.

include_javascript 'admin/page_attachments'
include_stylesheet 'admin/page_attachments'
end
@@ -1,8 +1,8 @@
%h1 Page Attachments
%p Below you'll find a list of all page attachments on your site. You may click to view the attachment file, click to edit the attached page, or use the sample code as a starting point for displaying a particular file on a page.
-%p
- Try the
- = link_to('Grid view', admin_page_attachments_grid_path)
+/ %p
+/ Try the
+/ = link_to('Grid view', admin_page_attachments_grid_path)
%table.index
%tr
%th Attachment

0 comments on commit 3a6724f

Please sign in to comment.