Add team name editor action titles and click team name to activate editor

This commit is contained in:
Brian Miyaji
2014-02-19 13:56:38 +11:00
parent 096a118806
commit daedc38f8e
4 changed files with 8 additions and 8 deletions

View File

@@ -70,8 +70,8 @@ jQuery(document).ready(function($){
$(".sp-clone:last").find("select").change();
// Name editor
$(".sp-data-table .sp-edit-name").click(function() {
$(this).closest(".sp-default-name").hide().siblings(".sp-custom-name").show().find(".sp-custom-name-input").focus();
$(".sp-data-table .sp-default-name").click(function() {
$(this).hide().siblings(".sp-custom-name").show().find(".sp-custom-name-input").focus();
});
// Name editor save