Description textarea does not reset in resume sections

Bug #1512181 reported by Kristina Hoeppner
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Mahara
Fix Released
Medium
Robert Lyon
15.10
Fix Released
Medium
Robert Lyon

Bug Description

Mahara 15.10.0 and master

When you enter a description in a resume section, it is displayed again when you add a new item in the same area. Where it happens:
- ed and employment history
- certificate description
- books and publications
- professional membership

Revision history for this message
Robert Lyon (robertl-9) wrote :

The problem here is this:

Textarea has a value (JavaScript) property just like a text input. It doesn't have an HTML value attribute.

We will need to clean out the innerHTML of the texarea as well

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "master" branch: https://reviews.mahara.org/5727

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/5727
Committed: https://git.mahara.org/mahara/mahara/commit/1c7c1a3b143e3d1a48d09332d5d2441b3a1d370e
Submitter: Robert Lyon (<email address hidden>)
Branch: master

commit 1c7c1a3b143e3d1a48d09332d5d2441b3a1d370e
Author: Robert Lyon <email address hidden>
Date: Tue Nov 17 14:06:34 2015 +1300

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 <email address hidden>

Revision history for this message
Mahara Bot (dev-mahara) wrote : A patch has been submitted for review

Patch for "15.10_STABLE" branch: https://reviews.mahara.org/5763

Revision history for this message
Mahara Bot (dev-mahara) wrote : A change has been merged

Reviewed: https://reviews.mahara.org/5763
Committed: https://git.mahara.org/mahara/mahara/commit/97f65d6ba9ebc2334b0350c5a68765c12c50fd4a
Submitter: Robert Lyon (<email address hidden>)
Branch: 15.10_STABLE

commit 97f65d6ba9ebc2334b0350c5a68765c12c50fd4a
Author: Robert Lyon <email address hidden>
Date: Tue Nov 17 14:06:34 2015 +1300

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 <email address hidden>
(cherry picked from commit 1c7c1a3b143e3d1a48d09332d5d2441b3a1d370e)

no longer affects: mahara/16.04
Changed in mahara:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.