diff --git a/app/helpers/boxes_helper.rb b/app/helpers/boxes_helper.rb index 9833729..b339f8f 100644 --- a/app/helpers/boxes_helper.rb +++ b/app/helpers/boxes_helper.rb @@ -215,6 +215,8 @@ module BoxesHelper :scroll => false, :start => "startDragBlock", :stop => "stopDragBlock", + :cursor => "'move'", + :cursorAt => '{ left: 0, top:0, right:0, bottom:0 }', }.merge(options) draggable_element(element_id, draggable_options) end diff --git a/app/views/box_organizer/index.html.erb b/app/views/box_organizer/index.html.erb index 5f3630a..ab1de1a 100644 --- a/app/views/box_organizer/index.html.erb +++ b/app/views/box_organizer/index.html.erb @@ -20,7 +20,8 @@ <%= display_icon(block) %> <%= _(block.pretty_name) %> - <%= block_draggable("block-#{block.name.to_css_class}") %> + <%= block_draggable("block-#{block.name.to_css_class}", + :cursorAt => '{bottom: 30, left: 0}') %> <% end %> -- libgit2 0.21.2