Browse Source

copy value back to span

master
Pascal Gloor 5 years ago
parent
commit
33e9d2612c
1 changed files with 1 additions and 0 deletions
  1. 1
    0
      www/js/autodoc.js

+ 1
- 0
www/js/autodoc.js View File

$('input.autodoc_home_modal_name').change(function(e) { $('input.autodoc_home_modal_name').change(function(e) {
var docid = $('#autodoc_home_modal').data('documentid'); var docid = $('#autodoc_home_modal').data('documentid');
document_update_name(docid, $(e.target).val()); document_update_name(docid, $(e.target).val());
$('span.autodoc_home_modal_name').html($('input.autodoc_home_modal_name').val());
$('span.autodoc_home_modal_name').removeClass('d-none'); $('span.autodoc_home_modal_name').removeClass('d-none');
$('input.autodoc_home_modal_name').addClass('d-none'); $('input.autodoc_home_modal_name').addClass('d-none');



Loading…
Cancel
Save