Minor fix

It does not worked for me in popup window.
This commit is contained in:
Pásztor Gábor 2015-12-30 19:32:14 +01:00
parent b3f318ff81
commit e1a9d8d393
1 changed files with 2 additions and 2 deletions

View File

@ -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)))
@ -233,4 +233,4 @@
$('[data-control="formwidget"]').formWidget();
})
}(window.jQuery);
}(window.jQuery);