X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/9e3b8dad3a369c212c5d7d3cc0af7fc4f3cf2b6c..864b3abeea4d58718f4e04de96278e184af7857b:/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() };