Podpisywanie, kto wykonał daną zmianę. Usunięcie print, które zapodziały się w kodzie.
[redakcja.git] / platforma / static / js / main.js
index 22ec733..56160ee 100644 (file)
@@ -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()
                     };