Added setting of default order in FileBrowser. Added sort() to gallery view(). Fixes...
[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()
                     };