Commit 18349d8150a4b1bb4a9c37f5291e2c68c36a73a2

Authored by AntonioTerceiro
1 parent f57bb5bd

ActionItem672: blocks in the middle area should be moved

git-svn-id: https://svn.colivre.coop.br/svn/noosfero/branches/0.11.x@2499 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing 1 changed file with 3 additions and 0 deletions   Show diff stats
app/helpers/boxes_helper.rb
... ... @@ -129,6 +129,9 @@ module BoxesHelper
129 129  
130 130 # makes the given block draggable so it can be moved away.
131 131 def block_handle(block)
  132 + # FIXME hardcoded
  133 + return '' if block.box.position == 1
  134 +
132 135 draggable_element("block-#{block.id}", :revert => true)
133 136 end
134 137  
... ...