Issue Bug Closed

#22466RTE does not load for IRRE fields when in fe-editing mode

Björn Pedersen 04/15/10, 14:05 updated 10/02/18, 12:25

Description

If using feediti-advanced, the IRRE-fields with RTE do not load the RTE.

Problem seems to be here: I get a JS-error on line 347: field is NULL

fieldChanged_fName: function(fName,el) {
340 var idx=2+TBE_EDITOR.prependFormFieldNamesCnt;
341 var table = TBE_EDITOR.split(fName, “[“, idx);
342 var uid = TBE_EDITOR.split(fName, “[“, idx+1);
343 var field = TBE_EDITOR.split(fName, “[“, idx+2);
344
345 table = table.substr(0,table.length-1);
346 uid = uid.substr(0,uid.length-1);
347 field = field.substr(0,field.length-1);
348 TBE_EDITOR.fieldChanged(table,uid,field,el);
349 },
350

JS stack at line 347:

fName
“data[tx_frm2newpm_person]4[function]”

field
null

idx
3

table
“4“
uid
“function”

So it seems like line 340 must take feedinting into accoutn and change the fixed 2 accordingly.
(issue imported from #M14126)

Reviews 0

No change resolves or names this issue in its commit message, and no comment links one.