first import

This commit is contained in:
Bachir Soussi Chiadmi
2015-04-08 11:40:19 +02:00
commit 1bc61b12ad
8435 changed files with 1582817 additions and 0 deletions

View File

@@ -0,0 +1,21 @@
(function ($) {
Drupal.behaviors.qt_ui_tabs = {
attach: function (context, settings) {
$('.quicktabs-ui-wrapper').once('qt-ui-tabs-processed', function() {
var id = $(this).attr('id');
var qtKey = 'qt_' + id.substring(id.indexOf('-') +1);
if (!settings.quicktabs[qtKey].history) {
$(this).tabs();
}
else {
$(this).tabs({event: 'change'});
Drupal.quicktabsBbq($(this), 'ul.ui-tabs-nav a');
}
});
}
}
})(jQuery);