Tweak inline results

This commit is contained in:
Brian Miyaji
2014-12-09 18:07:33 +11:00
parent ecb3d02eb3
commit 1b882d8c1c
2 changed files with 5 additions and 7 deletions

View File

@@ -87,6 +87,10 @@
line-height: 1.4em;
}
.fixed .column-sp_team .sp-results {
margin-bottom: .2em;
}
.fixed .column-sp_format,
.fixed .column-sp_icon,
.fixed .column-sp_number {

View File

@@ -135,12 +135,6 @@ jQuery(document).ready(function($){
$(".sp-dummy."+name+"-dummy").val(val).trigger("change");
});
// Title format switcher
$(".sp-title-format-select").change(function() {
val = $(this).val();
$(".sp-title-format").hide().filter(".sp-title-format-"+val).show();
});
// Custom value editor
$(".sp-data-table .sp-default-value").click(function() {
$(this).hide().siblings(".sp-custom-value").show().find(".sp-custom-value-input").focus();
@@ -548,7 +542,7 @@ jQuery(document).ready(function($){
$(".sp-date-selector select").trigger("change");
// Edit inline results
$("#the-list").on("click", ".sp-result, .sp-edit-results", function(){
$("#the-list").on("click, focus", ".sp-result, .sp-edit-results", function(){
team = $(this).data("team");
$column = $(this).closest(".column-sp_team");
$column.find(".sp-result, .sp-row-actions").hide();