Browse Source

doc val

master
Pascal Gloor 5 years ago
parent
commit
9a54d97c15
1 changed files with 5 additions and 2 deletions
  1. 5
    2
      www/js/autodoc.js

+ 5
- 2
www/js/autodoc.js View File

$('span.autodoc_home_modal_name').click(function(e) { $('span.autodoc_home_modal_name').click(function(e) {
$(e.target).addClass('d-none'); $(e.target).addClass('d-none');
$('input.autodoc_home_modal_name').removeClass('d-none'); $('input.autodoc_home_modal_name').removeClass('d-none');
home_modal_edit_name();
}); });


$('input.autodoc_home_moal_name').keypress(function(e) { $('input.autodoc_home_moal_name').keypress(function(e) {
.html(doc.created); .html(doc.created);


$(col) $(col)
.find(".autodoc_template_home_name")
.find("span.autodoc_template_home_name")
.html(doc.name); .html(doc.name);
$(col)
.find("input.autodoc_template_home_name")
.val(doc.name);


$(col) $(col)
.find(".autodoc_template_home_pages") .find(".autodoc_template_home_pages")

Loading…
Cancel
Save