Enable custom event teams delimiter
This commit is contained in:
@@ -303,6 +303,19 @@ jQuery(document).ready(function($){
|
||||
// Trigger status selector
|
||||
$(".sp-status-selector select:first-child").change();
|
||||
|
||||
// Preset field modifier
|
||||
$(".sp-custom-input-wrapper .preset").click(function() {
|
||||
val = $(this).val();
|
||||
if(val == "\\c\\u\\s\\t\\o\\m") return true;
|
||||
example = $(this).attr("data-example");
|
||||
$(this).closest(".sp-custom-input-wrapper").find(".value").val(val).siblings(".example").html(example);
|
||||
});
|
||||
|
||||
// Select custom preset when field is brought to focus
|
||||
$(".sp-custom-input-wrapper .value").focus(function() {
|
||||
$(this).siblings("label").find(".preset").prop("checked", true);
|
||||
});
|
||||
|
||||
// Remove slug editor in quick edit for slug-sensitive post types
|
||||
$(".inline-edit-sp_result, .inline-edit-sp_outcome, .inline-edit-sp_column, .inline-edit-sp_statistic").find("input[name=post_name]").closest("label").remove();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user