Event list title format selector close #46

This commit is contained in:
Brian Miyaji
2014-08-24 17:52:20 +10:00
parent d6f8a52106
commit 43e771f002
4 changed files with 113 additions and 90 deletions

View File

@@ -135,6 +135,12 @@ 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();