boolean clientNeedsContentRefresh = false;
+ handleClickEvent(variables);
+
disableContentRefreshing();
if (!isSelectable() && variables.containsKey("selected")) {
}
}
- // handle clicks before content refresh if content is refreshed anyway
- if (clientNeedsContentRefresh) {
- handleClickEvent(variables);
- enableContentRefreshing(clientNeedsContentRefresh);
- } else {
- enableContentRefreshing(clientNeedsContentRefresh);
- handleClickEvent(variables);
- }
+ enableContentRefreshing(clientNeedsContentRefresh);
}
/**