Permalink
Browse files

Fix: positionField param bug

  • Loading branch information...
1 parent c9d9832 commit 6fddb31c46f1bd4a153d4814cf5c4c62884602cc @samluescher committed Jan 26, 2010
Showing with 1 addition and 1 deletion.
  1. +1 −1 js/jquery-inline-positioning.js
@@ -21,7 +21,7 @@ jQuery(function($) {
$(this)[0].readOnly = true;
});
$(this).find('input, select, textarea').change(function() {
- $(this).closest(item).find('input[id$=position]').val('X');
+ $(this).closest(item).find('input[id$='+positionField+']').val('X'); // mark for renumberAll() to fill in
renumberAll($('div.inline-group'));
});
});

0 comments on commit 6fddb31

Please sign in to comment.