Project

General

Profile

Actions

Bug #3953

closed

Tab conditionals not taking priority over field conditionals

Added by krileon over 11 years ago. Updated over 11 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Target version:
Start date:
02 April 2013
Due date:
% Done:

100%

Estimated time:

Description

When a tab is hidden by a tab conditional it should not be able to be restored due to a fields conditional that is on that tab. As is if Field A hides Tab A and Field B shows Field C on Tab A it causes the tab display to restore. Simply add a new class for when a tab display is disabled (tabDisplayDisabled) in addition to the displayDisabled class that is ONLY added when the tab is hidden by a tab conditional. This way when a field conditional trys to show/hide the entire tab it only adds displayDisable and checks that it does not have tabDisplayDisabled before attempting to add/remove this class.

https://www.joomlapolis.com/forum/153-professional-member-support/220371-problem-with-consecutive-conditions?start=6

Actions #1

Updated by krileon over 11 years ago

The below unique classes are now added. They are only added by the functions that directly show/hide them. Indirect show/hide will not add them so they are guaranteed to be added by the functions that cause the show/hide.

fieldDisplayDisabled
optionDisplayDisabled
tabDisplayDisabled

Actions #2

Updated by krileon over 11 years ago

  • Target version set to 3.0.4
Actions #3

Updated by krileon over 11 years ago

  • Status changed from Resolved to Closed
Actions

Also available in: Atom PDF