Permalink
Browse files

updated jscolor, added close-button to color-picker

  • Loading branch information...
1 parent 7c1adb3 commit 125662eb6ef20289da369c0b69e79fa14691689f Pa��r Thernstro��m committed Sep 2, 2012
Showing with 160 additions and 49 deletions.
  1. +3 −2 functions.php
  2. +156 −46 jscolor/jscolor.js
  3. +1 −1 simple_fields.php
View
@@ -938,8 +938,9 @@ function simple_fields_values($field_slug = NULL, $post_id = NULL, $options = NU
// Outputs the names of the post connectors attached to the post you view + outputs the values
add_filter("the_content", "simple_fields_value_get_functions_test");
- function simple_fields_value_get_functions_test($content) {
+ function simple_fields_value_get_functions_test($the_content) {
+ $output = "";
$output_all = "";
$field_count = 0;
@@ -995,7 +996,7 @@ function simple_fields_value_get_functions_test($content) {
';
}
- return $content . $output_all;
+ return $the_content . $output_all;
}
}
Oops, something went wrong. Retry.

0 comments on commit 125662e

Please sign in to comment.