From 51ef01d315875830af2565121fe1f3b1bf32850c Mon Sep 17 00:00:00 2001 From: AFS Date: Wed, 28 Dec 2016 14:00:02 +0100 Subject: [PATCH] Fix for next tab Fixed next tab setup. Thanks sebastianmenendez --- js/wizardwidget.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/js/wizardwidget.js b/js/wizardwidget.js index 8e4b8e8..4b0333c 100644 --- a/js/wizardwidget.js +++ b/js/wizardwidget.js @@ -14,7 +14,7 @@ $(document).ready(function () { // Manage next step button click $(document).on("click", ".next-step", function (e) { var $tab_active = $('.wizard .nav-tabs li.active'); - var $next_tab = $active.next(); + var $next_tab = $tab_active.next(); var $function = jQuery(this).data('function') || false; if ($function){ @@ -66,4 +66,4 @@ function nextTab(elem) { // 'click' on prev tab function prevTab(elem) { $(elem).prev().find('a[data-toggle="tab"]').click(); -} \ No newline at end of file +}