Community
Participate
Working Groups
When a step has only a Name and no Content in the Description field, then, in Preview the expand option (+ sign) is seen for that particular step, eventhough it does not have any content. The same is true for publishing pages. Please see whether or not this can be fixed.
Created attachment 92978 [details] Suggested fix version 1
Created attachment 92979 [details] A further refinement Just another note about my detection of "empty" steps. The last fix looks for the first occurance of a table cell with no content - there should be one and only instance of <TD></TD> . However if the content author does any post-publishing editing and inserts a <TD></TD> before the text of a step then it will give the wrong result. Here is revised ContentPageSubSection.js that loops through the step description, checking for any text in the step.
Created attachment 93233 [details] Fix for Bug#: 220813 Modification: 1. Replace <a noref> with <a> element at line 155 in order to make it work in mozilla firefox. 2. Add "toUpperCase" before invoking "indexOf"(In firefox, the function "indexOf" is case sensitive). 3. The attribute "src" of a image(self.stepCollapseLinks[i].firstChild.src/self.stepExpandLinks[i].firstChild.src) does not equal to this.collapseImage/this.expandImage because the "src" will be removed some unnecessary url information when it is assigned a url. Use condition "title != ''" instead at line 199&231.
Created attachment 93234 [details] Patch