mirror of
https://github.com/redmine/redmine.git
synced 2025-11-15 09:46:02 +01:00
Fix sort handle on "My page".
git-svn-id: http://svn.redmine.org/redmine/trunk@16389 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -26,7 +26,7 @@ module MyHelper
|
||||
blocks.each do |block|
|
||||
content = render_block_content(block, user)
|
||||
if content.present?
|
||||
handle = content_tag('span', '', :class => 'hanlde sort-handle')
|
||||
handle = content_tag('span', '', :class => 'sort-handle')
|
||||
close = link_to(l(:button_delete), {:action => "remove_block", :block => block}, :method => 'post', :class => "icon-only icon-close")
|
||||
content = content_tag('div', handle + close, :class => 'contextual') + content
|
||||
|
||||
|
||||
@@ -28,6 +28,7 @@ $(document).ready(function(){
|
||||
$('#list-top, #list-left, #list-right').sortable({
|
||||
connectWith: '.block-receiver',
|
||||
tolerance: 'pointer',
|
||||
handle: '.sort-handle',
|
||||
start: function(event, ui){$(this).parent().addClass('dragging');},
|
||||
stop: function(event, ui){$(this).parent().removeClass('dragging');},
|
||||
update: function(event, ui){
|
||||
|
||||
Reference in New Issue
Block a user