소스 검색

edit name

master
Pascal Gloor 5 년 전
부모
커밋
b4399c66dd
2개의 변경된 파일14개의 추가작업 그리고 1개의 파일을 삭제
  1. 4
    1
      www/index.html
  2. 10
    0
      www/js/autodoc.js

+ 4
- 1
www/index.html 파일 보기

@@ -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>

+ 10
- 0
www/js/autodoc.js 파일 보기

@@ -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 () {

Loading…
취소
저장