Improve event importer

This commit is contained in:
Brian Miyaji
2014-03-16 11:19:32 +11:00
parent e80ae7a3b8
commit 94d50adcc2
5 changed files with 246 additions and 195 deletions

View File

@@ -337,8 +337,8 @@ table.widefat td.column-sp_number .sp-flag {
max-width: 20px;
}
table.widefat td.sp-outcome .chosen-container {
width: 100%;
table.widefat select.sp-outcome {
width: 150px;
}
#sp_venue-adder h4,

View File

@@ -167,7 +167,7 @@ jQuery(document).ready(function($){
sum += parseInt(val, 10);
}
});
$(this).val(sum);
$(this).attr("placeholder", sum);
});
// Activate total stats calculator
@@ -177,6 +177,9 @@ jQuery(document).ready(function($){
});
}
// Trigger total stats calculator
$(".sp-data-table .sp-total input").trigger("updateTotal");
// Select all checkboxes
$(".sp-select-all").change(function() {
$range = $(this).closest(".sp-select-all-range");