Permalink
Browse files

better fix by Stephen for dynamic inline fields focus issue

  • Loading branch information...
1 parent f7df23a commit 69e3be35505d00eed5719d689d9b58042fc562de @diramazioni committed Sep 23, 2011
Showing with 1 addition and 2 deletions.
  1. +1 −2 mezzanine/core/media/js/dynamic_inline.js
View
3 mezzanine/core/media/js/dynamic_inline.js
@@ -36,9 +36,8 @@ $(function() {
// Apply drag and drop to orderable inlines.
$(parentSelector).sortable({handle: '.ordering', axis: 'y', opacity: '.7',
placeholder: 'placeholder'});
- $(parentSelector).disableSelection();
+ $(parentSelector + ' .order').disableSelection();
$('.ordering').css({cursor: 'move'});
- $(parentSelector).enableSelection();
// Mark checkboxes with a 'dirty' attribute if they're changed from

0 comments on commit 69e3be3

Please sign in to comment.