From 77d323d649df0594352e9ca698d47d08601a611b Mon Sep 17 00:00:00 2001 From: gubbigubbi Date: Tue, 6 Jun 2017 22:04:08 +1000 Subject: [PATCH] Updated main.js to include reference to section id, this allows for conditional sections in the tabs --- js/main.js | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/js/main.js b/js/main.js index ead4351..c51770a 100644 --- a/js/main.js +++ b/js/main.js @@ -26,7 +26,8 @@ jQuery(function($) { var $this = $(this); // add a tab head link for each tab - tabsHead.append('' + $this.find('.gsection_title').html() + ''); + // add the id as well so gf conditional sections still works + tabsHead.append('' + $this.find('.gsection_title').html() + ''); // move the corresponding fields to their tab body var gformFields = $('