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

@@ -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");