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