X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/9e3b8dad3a369c212c5d7d3cc0af7fc4f3cf2b6c..198be737937aec7259e81ba791bf7f4e401795eb:/platforma/static/js/main.js diff --git a/platforma/static/js/main.js b/platforma/static/js/main.js index 22ec7332..56160ee1 100644 --- a/platforma/static/js/main.js +++ b/platforma/static/js/main.js @@ -674,7 +674,7 @@ $(function() { name: $('#document-name').html(), text: metaComment + editor.getCode(), revision: $('#document-revision').html(), - author: 'annonymous', + author: $('#username').html() || 'annonymous', comment: $('#komentarz').val() };