Permalink
Browse files

Merge pull request #1493 from kaleworsley/menu_reorder_changes

Disable sorting for the menu reorder buttons
  • Loading branch information...
2 parents 06c33b6 + c2ad6c4 commit 7c11da7061f4057b0127eaaa00bd31d2b32e863a @parndt parndt committed Mar 22, 2012
Showing with 1 addition and 0 deletions.
  1. +1 −0 core/app/assets/javascripts/refinery/sortable_menu.js.coffee
@@ -2,6 +2,7 @@
$menu = $("#menu")
return if $menu.length == 0
$menu.sortable(
+ items: "> *:not(#menu_reorder, #menu_reorder_done)"
axis: "x"
cursor: "crosshair"
connectWith: ".nested"

0 comments on commit 7c11da7

Please sign in to comment.