From 3b99d66ee999686efc650aa21190878cd63217c8 Mon Sep 17 00:00:00 2001 From: khalil00 Date: Mon, 23 Apr 2018 15:49:45 +0200 Subject: [PATCH] Issue correction Tabs.java The JSON parameter used in JS for the selected tab is not "selected", it is "active". --- src/main/java/org/got5/tapestry5/jquery/components/Tabs.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/got5/tapestry5/jquery/components/Tabs.java b/src/main/java/org/got5/tapestry5/jquery/components/Tabs.java index f4ccc5f8..e9274bb0 100644 --- a/src/main/java/org/got5/tapestry5/jquery/components/Tabs.java +++ b/src/main/java/org/got5/tapestry5/jquery/components/Tabs.java @@ -128,7 +128,7 @@ void declareTabs(MarkupWriter writer) JSONObject defaults = new JSONObject(); defaults.put("cache", false); - defaults.put("selected", activePanelId); + defaults.put("active", activePanelId); JQueryUtils.merge(defaults, params);