Github user solomax commented on a diff in the pull request:
https://github.com/apache/wicket/pull/253#discussion_r161220021
--- Diff:
wicket-core/src/main/java/org/apache/wicket/markup/head/ResourceAggregator.java
---
@@ -337,24 +338,27 @@ private void renderCombinedEventScripts()
if (combinedScript.length() > 0)
{
combinedScript.append("\nWicket.Event.publish(Wicket.Event.Topic.AJAX_HANDLERS_BOUND);");
- getRealResponse().render(
-
OnDomReadyHeaderItem.forScript(combinedScript.append('\n').toString()));
+
getRealResponse().render(OnDomReadyHeaderItem.forScript(combinedScript.append('\n')));
}
combinedScript.setLength(0);
+ String lastId = null;
--- End diff --
Would appreciate review on this commit, especially this part ....
---