@@ -148,7 +148,10 @@ | |||
<table class="table table-striped table-sm"> | |||
<tr> | |||
<th scope="row">Name</th> | |||
<td class="autodoc_home_modal_name"></td> | |||
<td> | |||
<span class="autodoc_home_modal_name"></span> | |||
<input type="text" class="d-none autodoc_home_modal_name" value=""> | |||
</td> | |||
</tr> | |||
<tr> | |||
<th scope="row">Created</th> |
@@ -57,6 +57,16 @@ $(document).ready(function () { | |||
$(e.target).addClass("active"); | |||
home_modal_resize($(e.target).html()); | |||
}); | |||
$('span.autodoc_home_modal_name').click(function(e) { | |||
$(e.target).addClass('d-none'); | |||
$('button.autodoc_home_modal_name').removeClass('d-none'); | |||
home_modal_edit_name(); | |||
}); | |||
$('button.autodoc_home_moal_name').keypress(function(e) { | |||
console.log(e); | |||
}); | |||
}); | |||
$(window).bind("hashchange", function () { |