Commit c4dfd8a1 authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1648628: replace rather than append maxuploadsize value



behatnotneeded

Change-Id: Iec6855c7e4454c82cb1bcc8f4c66cc72934c144f
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent dacb2049
......@@ -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
......
Supports Markdown
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