Commit 5ce20b37 authored by Robert Lyon's avatar Robert Lyon
Browse files

Bug 1620018 - Fixing mistake with adding annotation via matrix page



The 'text' field's information not being passed via the ajax.
Need to fetch the TinyMCE's value before closing the dock / removing
the content.

behatnotneeded

Change-Id: Ib8a2249e609b9ab2b480dee342c7b4e6bb0fa8da
Signed-off-by: Robert Lyon's avatarRobert Lyon <robertl@catalyst.net.nz>
parent 46c07292
......@@ -146,6 +146,9 @@ jQuery(function($) {
if (item.name == 'tags[]') {
tags.push(item.value);
}
else if (item.name == 'text') {
values[item.name] = tinyMCE.get('instconf_text').getContent();
}
else {
values[item.name] = item.value;
}
......
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