Commit 36a975e9 authored by Cecilia Vela Gurovic's avatar Cecilia Vela Gurovic Committed by Robert Lyon

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


Change-Id: I320e0ea1ff8bc14772aab47f006258e5a98bba55
(cherry picked from commit 762cdd9a)
parent 7f8e18ff
......@@ -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