diff options
author | Christopher Smith <chris@jalakai.co.uk> | 2013-08-03 17:19:28 +0200 |
---|---|---|
committer | Christopher Smith <chris@jalakai.co.uk> | 2013-08-03 17:19:28 +0200 |
commit | c84391dcf5eb8a23bcae9e558285975c6b47e7f1 (patch) | |
tree | 2ba3fb7a7a2ec80807deb9ae11b4c20e5124a462 | |
parent | 00e3e3940de140e6fe6ce3c558c71a47f676b456 (diff) | |
download | dokuwiki-c84391dcf5eb8a23bcae9e558285975c6b47e7f1.tar.gz dokuwiki-c84391dcf5eb8a23bcae9e558285975c6b47e7f1.zip |
show media files in date order (most recent first) after an upload is completed
-rw-r--r-- | lib/scripts/fileuploaderextended.js | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/scripts/fileuploaderextended.js b/lib/scripts/fileuploaderextended.js index 0ba7a0525..f5786c387 100644 --- a/lib/scripts/fileuploaderextended.js +++ b/lib/scripts/fileuploaderextended.js @@ -188,6 +188,7 @@ qq.extend(qq.FileUploaderExtended.prototype, { if (i) action = action.substr(0, i); var button = '<form method="post" action="' + action + '" id="mediamanager__done_form"><div>'; button += '<input type="hidden" value="' + result.ns + '" name="ns">'; + button += '<input type="hidden" value="1" name="recent">'; button += '<input class="button" type="submit" value="' + LANG.media_done_btn + '"></div></form>'; jQuery('#mediamanager__uploader').append(button); } |