Commit 762cdd9a authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic

Bug 1635503: Set standard id when selecting parent id for an element


Change-Id: I320e0ea1ff8bc14772aab47f006258e5a98bba55
parent 3537b416
......@@ -789,6 +789,12 @@ jQuery(function($) {
if (peid_field) {
// Also update the standard id to match the standard id of the parent
var pid_field = editor.getEditor("root.standardelements." + index + ".standardid");
if (pid_field) {
var parentid = element.value.split('.');
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