Skip to content

Commit

Permalink
Minor fix
Browse files Browse the repository at this point in the history
It does not worked for me in popup window.
  • Loading branch information
gpasztor87 committed Dec 30, 2015
1 parent b3f318f commit e1a9d8d
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions modules/backend/widgets/form/assets/js/october.form.js
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@

this.toggleEmptyTabsTimer = window.setTimeout(function() {

var tabControl = $('[data-control=tab]', this.$el),
var tabControl = $('[data-control=tab]', self.$el),
tabContainer = $('.nav-tabs', tabControl)

if (!tabControl.length || !$.contains(form.get(0), tabControl.get(0)))
Expand Down Expand Up @@ -233,4 +233,4 @@
$('[data-control="formwidget"]').formWidget();
})

}(window.jQuery);
}(window.jQuery);

0 comments on commit e1a9d8d

Please sign in to comment.