[4.2] - rbf_showOrHideSection() leaves section-seperator

Posted by IramK on 20-Oct-2016 08:31

Hello,

I am trying to hide a section and I notice that there is a gap between the hidden section and the non-hidden section that is separated using the .rbs-section-seperator div. Is there a possibility to add this to the showOrHideSection function and hide the separator as well, because there is unnecessary space that is staying there?

Cheers.

Iram

All Replies

Posted by stayal on 20-Oct-2016 15:22

Hi IramK,

Yes I can reproduce the issue and I have logged the defect for the same.

Thanks,

Shivali

Posted by IramK on 21-Oct-2016 03:42

Any possible resolution dates?

Iram

Posted by stayal on 21-Oct-2016 04:12

Hi Iramk,

Till it is fixed, as a workaround you can use the below script to hide the section separator.

<script>

rbf_showOrHideSection(324862,false);

var sectionElement = $('#rbi_S_324862');  // where rbi_S_51599 is the Id of the section element

var sectionSeparator = sectionElement.next('.rbs-sectionSeparator');

sectionSeparator.hide();

</script>

Posted by IramK on 21-Oct-2016 04:15

Thanks.

This thread is closed