Commit 97f65d6b authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1512181: cleaning out the old text from textarea



When adding resume composite options

behatnotneeded - this is more a UI thing

Change-Id: I33d5fab50767b1adc753dee9a0124a04f0c087b3
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
(cherry picked from commit 1c7c1a3b)
parent c6fa0cbb
......@@ -970,6 +970,10 @@ function compositeSaveCallback(form, data) {
\$j('#' + form.id + ' input:text, #' + form.id + ' textarea').each(function() {
\$j(this).attr('value', '');
});
// Also need to clear the innerHTML for textareas
\$j('#' + form.id + ' textarea').each(function() {
document.getElementById(\$j(this).attr('id')).innerHTML = '';
});
\$j('#' + key + 'form').collapse('hide');
......
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