Skip to content

Commit

Permalink
Call enableAjax() on lazy-loaded contents of WMenuItem
Browse files Browse the repository at this point in the history
  • Loading branch information
RockinRoel committed Sep 4, 2017
1 parent 0a43e14 commit 55e3ec6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/Wt/WMenuItem.C
Original file line number Diff line number Diff line change
Expand Up @@ -334,6 +334,9 @@ void WMenuItem::enableAjax()
if (menu_->internalPathEnabled())
resetLearnedSlots();

if (uContents_)
uContents_->enableAjax();

WContainerWidget::enableAjax();
}

Expand Down

0 comments on commit 55e3ec6

Please sign in to comment.