Skip to content

Commit

Permalink
remove name attribute from inputs
Browse files Browse the repository at this point in the history
  • Loading branch information
Mottie committed Jan 13, 2012
1 parent ba7f804 commit 9c1ca7e
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion js/jquery.movingboxes.js
Expand Up @@ -133,7 +133,7 @@
base.$el.append( base.$panels.filter(':first').clone().addClass('cloned') );
base.$el.find('.cloned').each(function(){
// disable all focusable elements in cloned panels to prevent shifting the panels by tabbing
$(this).find('a,input,textarea,select,button,area').attr('disabled', 'disabled');
$(this).find('a,input,textarea,select,button,area').removeAttr('name').attr('disabled', 'disabled');
$(this).find('[id]').andSelf().removeAttr('id');
});
}
Expand Down
4 changes: 2 additions & 2 deletions js/jquery.movingboxes.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9c1ca7e

Please sign in to comment.