Fixed application of CSS class 'sortable' to stacked inline elements that are sortable which was somehow excluded from the previous release.

master
Brandon Taylor 2012-11-02 13:49:30 -04:00
parent 9145da6a23
commit e206dfc30c
3 changed files with 4 additions and 0 deletions

View File

@ -1,6 +1,8 @@
jQuery(function($){ jQuery(function($){
if ($(':hidden[name="admin_sorting_url"]').length > 0) if ($(':hidden[name="admin_sorting_url"]').length > 0)
{ {
var sortable_inline_rows = $('.inline-group .inline-related');
sortable_inline_rows.addClass('sortable');
$('.inline-group').sortable({ $('.inline-group').sortable({
axis : 'y', axis : 'y',
containment : 'parent', containment : 'parent',

Binary file not shown.

View File

@ -1,6 +1,8 @@
jQuery(function($){ jQuery(function($){
if ($(':hidden[name="admin_sorting_url"]').length > 0) if ($(':hidden[name="admin_sorting_url"]').length > 0)
{ {
var sortable_inline_rows = $('.inline-group .inline-related');
sortable_inline_rows.addClass('sortable');
$('.inline-group').sortable({ $('.inline-group').sortable({
axis : 'y', axis : 'y',
containment : 'parent', containment : 'parent',