relaxing class definition for draggable objects
Oleg
committed Jun 15, 2011
commit d786e778da0e65740f508fce32f6758dbe16be37
Showing 1
changed file with
2 additions
and 2 deletions
app/assets/javascripts/comfortable_mexican_sofa/application.js
+2
-2
| @@ | @@ -24,8 +24,8 @@ $.CMS = function(){ |
| return { | |
| enable_sortable_list: function(){ | |
| - | $('ul.sortable, ul.sortable ul').sortable({ |
| - | handle: 'div.dragger', |
| + | $('.sortable, ul.sortable ul').sortable({ |
| + | handle: '.dragger', |
| axis: 'y', | |
| update: function(){ | |
| $.post(current_path + '/reorder', '_method=put&'+$(this).sortable('serialize')); | |