Skip to content

Commit

Permalink
Added select2 compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
taylormsj committed Jul 10, 2014
1 parent db959bf commit 7e9c50c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 9 deletions.
16 changes: 9 additions & 7 deletions acf-cf7-v5.php
Original file line number Diff line number Diff line change
Expand Up @@ -256,16 +256,18 @@ function input_admin_enqueue_scripts() {
* @return n/a
*/

/*
function input_admin_head() {
?>
<script>
jQuery(document).ready(function($) {
$(".cf7-select").select2({
width: '100%'
});
});
</script>
<?php
}

*/


/*
* input_form_data()
Expand Down
2 changes: 1 addition & 1 deletion acf-cf7.php
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
Plugin Name: Advanced Custom Fields: Contact Form 7
Plugin URI: https://github.com/taylormsj/acf-cf7
Description: Add one or more contact forms to an advanced custom field
Version: 1.0.0
Version: 1.0.1
Author: Taylor Mitchell-St.Joseph
Author URI: http://taylormitchellstjoseph.co.uk
License: GPLv2 or later
Expand Down
5 changes: 4 additions & 1 deletion readme.txt
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
Contributors: Taylor Mitchell-St.Joseph
Tags: acf, contact form 7, advanced custom fields
Requires at least: 3.5
Tested up to: 3.8.1
Tested up to: 3.9.1
Stable tag: trunk
License: GPLv2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Expand Down Expand Up @@ -34,5 +34,8 @@ This ACF field type is compatible with:

== Changelog ==

= 1.0.1 =
* Added select2 compatibility

= 1.0.0 =
* Initial Release for ACF 5 compatibility

0 comments on commit 7e9c50c

Please sign in to comment.