Skip to content

Commit

Permalink
Merge pull request #4810 from kwvanderlinde/bugfix/4709-ocs-for-tabbe…
Browse files Browse the repository at this point in the history
…d-frames

Fix onChangeSelection and related events for inactive tabbed frames
  • Loading branch information
cwisniew authored May 30, 2024
2 parents 68ad10c + 70b9c56 commit 7e376ea
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -310,7 +310,7 @@ public void updateContents(
/** Run all callback macros for "onChangeSelection". */
public static void doSelectedChanged() {
for (HTMLFrame frame : frames.values()) {
if (frame.isVisible()) {
if (!frame.isHidden()) {
HTMLPanelContainer.selectedChanged(frame.macroCallbacks);
}
}
Expand All @@ -319,7 +319,7 @@ public static void doSelectedChanged() {
/** Run all callback macros for "onChangeImpersonated". */
public static void doImpersonatedChanged() {
for (HTMLFrame frame : frames.values()) {
if (frame.isVisible()) {
if (!frame.isHidden()) {
HTMLPanelContainer.impersonatedChanged(frame.macroCallbacks);
}
}
Expand All @@ -333,7 +333,7 @@ public static void doImpersonatedChanged() {
public static void doTokenChanged(Token token) {
if (token != null) {
for (HTMLFrame frame : frames.values()) {
if (frame.isVisible()) {
if (!frame.isHidden()) {
HTMLPanelContainer.tokenChanged(token, frame.macroCallbacks);
}
}
Expand Down

0 comments on commit 7e376ea

Please sign in to comment.