Enable event player reordering
This commit is contained in:
@@ -226,6 +226,18 @@ table.widefat select.sp-outcome {
|
||||
width: 100%;
|
||||
}
|
||||
|
||||
table.widefat.sp-sortable-table tbody tr {
|
||||
cursor: move;
|
||||
}
|
||||
|
||||
table.widefat.sp-sortable-table tr {
|
||||
background-color: #fff;
|
||||
}
|
||||
|
||||
table.widefat.sp-sortable-table tr:nth-child(2n-1) {
|
||||
background-color: #f9f9f9;
|
||||
}
|
||||
|
||||
.sp-admin-config-table th,
|
||||
.sp-admin-config-table td {
|
||||
padding: 8px 10px;
|
||||
|
||||
@@ -24,6 +24,7 @@ jQuery(document).ready(function($){
|
||||
|
||||
// Activate auto key placeholder
|
||||
$("#poststuff #title").keyup();
|
||||
|
||||
// Table switcher
|
||||
$(".sp-table-panel").siblings(".sp-table-bar").find("a").click(function() {
|
||||
$(this).closest("li").find("a").addClass("current").closest("li").siblings().find("a").removeClass("current").closest(".sp-table-bar").siblings($(this).attr("href")).show().siblings(".sp-table-panel").hide();
|
||||
@@ -233,6 +234,11 @@ jQuery(document).ready(function($){
|
||||
// Trigger check check
|
||||
$(".sp-data-table").trigger("checkCheck");
|
||||
|
||||
// Sortable tables
|
||||
$(".sp-sortable-table tbody").sortable({
|
||||
axis: "y"
|
||||
});
|
||||
|
||||
// Video embed
|
||||
$(".sp-add-video").click(function() {
|
||||
$(this).closest("fieldset").hide().siblings(".sp-video-field").show();
|
||||
|
||||
Reference in New Issue
Block a user