diff --git a/assets/js/admin/sportspress-admin.js b/assets/js/admin/sportspress-admin.js
index 5d85e537..ddad9827 100644
--- a/assets/js/admin/sportspress-admin.js
+++ b/assets/js/admin/sportspress-admin.js
@@ -262,6 +262,26 @@ jQuery(document).ready(function($){
// Trigger total stats calculator
$(".sp-data-table .sp-total input").trigger("updateTotal");
+ // Sync inputs
+ $(".sp-sync-input").on("keyup", function() {
+ name = $(this).attr("name");
+ $el = $("input[name='"+name+"']");
+ if ( $el.length > 1 ) {
+ val = $(this).val();
+ $el.val(val);
+ }
+ });
+
+ // Sync selects
+ $(".sp-sync-select").on("change", function() {
+ name = $(this).attr("name");
+ $el = $("select[name='"+name+"']")
+ if ( $el.length > 1 ) {
+ val = $(this).val();
+ $el.val(val);
+ }
+ });
+
// Select all checkboxes
$(".sp-select-all-range").on("change", ".sp-select-all", function() {
$range = $(this).closest(".sp-select-all-range");
diff --git a/includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php b/includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php
index b997d596..ec609e18 100644
--- a/includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php
+++ b/includes/admin/post-types/meta-boxes/class-sp-meta-box-event-performance.php
@@ -5,7 +5,7 @@
* @author ThemeBoy
* @category Admin
* @package SportsPress/Admin/Meta_Boxes
- * @version 2.0
+ * @version 2.0.6
*/
if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
@@ -238,7 +238,7 @@ class SP_Meta_Box_Event_Performance {
|
-
+
# |
|
@@ -259,7 +259,7 @@ class SP_Meta_Box_Event_Performance {
-
+
|
@@ -281,7 +281,7 @@ class SP_Meta_Box_Event_Performance {
|
-
+
|
|
@@ -297,7 +297,7 @@ class SP_Meta_Box_Event_Performance {
?>
|
-
+
|
@@ -318,9 +318,9 @@ class SP_Meta_Box_Event_Performance {
|
-
+
-
+
|
@@ -356,10 +356,10 @@ class SP_Meta_Box_Event_Performance {
$placeholder = sp_get_format_placeholder( sp_array_value( $formats, $column, 'number' ) );
?>
|
-
+
|
-
+
@@ -382,7 +382,7 @@ class SP_Meta_Box_Event_Performance {
'sub' => __( 'Substitute', 'sportspress' ),
) );
- $output = ' |