Bug #25344
closedFCE with closed section does not display title of Section
0%
Description
If an FCE with sections is loaded, the title/summary for closed sections is not displayed. When you open the section, the title is then added to the section.
If the FCE is saved with an open section, it's also loaded that way, meaning that some titles are present, others not. In my opinion, it would make a lot of sense to display the correct title of closed section since they are hmm closed ;) While the content of the open section is visible already :) So the behavior is the exact opposite of what makes sense...
Create a FCE with sections.
Add 2 Sections with content.
Close one.
Save and close record.
Open record > closed Section has no title
Latest 4.4.7 Version.
JS Problem
(issue imported from #M17971)
Files
Updated by Noel Bossart over 13 years ago
The functions probably are located here: t3lib/class.t3lib_tceforms.php line 5444+
Updated by Noel Bossart over 13 years ago
UPATE: title is never displayed on load, just on toggle...
Updated by Noel Bossart over 13 years ago
wanted to write an update... but there is no jQuery. How can one work without jQuery?
function flexformInit(id){
console.log($);
/*var $flexsection;
if(!id){
$flexsection = $(".t3-form-field-container-flexsections");
} else {
$flexsection = $("#"+id+"-content");
}
$flexsection.each(function(){
id = this.id;
var previewContent = "";
var $children = $(this).find(".t3-form-field-record-flexsection input");
$children.each(function(){
if(this.type=="text" && this.value){
previewContent+= (previewContent?" / ":"")+$this.value;
}
});
if (previewContent.length>80) {
previewContent = previewContent.substring(0,67)+"...";
}
$(id+"-preview").update(previewContent);
}); */
}
flexformInit();
:(
Updated by Jignesh Prajapati about 11 years ago
- Target version deleted (
0)
I am facing same issue. Anybody get any solution for this?
Updated by Benni Mack almost 10 years ago
- Description updated (diff)
- Status changed from New to Closed
- Is Regression set to No
This is solved in master! Thanks for the report!