Browse files

One more tweak to get $primary_id working

  • Loading branch information...
1 parent d75e734 commit 4a52a6ac39b1fa0f2d3fd15cf17986f5a756a58f @sc0ttkclark sc0ttkclark committed Aug 1, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 ui/fields/checkbox.php
View
2 ui/fields/checkbox.php
@@ -8,7 +8,7 @@
$counter = 1;
$primary_name = $name;
- $primary_id = $attributes[ 'id' ];
+ $primary_id = 'pods-form-ui-' . PodsForm::clean( $name );
foreach ( $options[ 'data' ] as $val => $label ) {
if ( is_array( $label ) ) {

0 comments on commit 4a52a6a

Please sign in to comment.