Commit 93c19a6c authored by Robert Lyon's avatar Robert Lyon Committed by Gerrit Code Review
Browse files

Merge "Bug 1648628: replace rather than append maxuploadsize value"

parents 46482054 c4dfd8a1
......@@ -924,7 +924,7 @@ var FileBrowser = (function($) {
self.callback_feedback(data); // add/update message
if (data.maxuploadsize) {
// keep max upload size up to date
$('#' + self.id + '_userfile_maxuploadsize').append('(' + get_string('maxuploadsize') + ' ' + data.maxuploadsize + ')');
$('#' + self.id + '_userfile_maxuploadsize').text('(' + get_string('maxuploadsize') + ' ' + data.maxuploadsize + ')');
}
}
// Clear the create folder form
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment