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,17 @@
(function ($) {
Drupal.quicktabsShowHide = function() {
$(this).parents('tr').find('div.qt-tab-' + this.value + '-options-form').show().siblings('div.qt-tab-options-form').hide();
};
Drupal.behaviors.quicktabsform = {
attach: function (context, settings) {
$('#quicktabs-form tr').once(function(){
var currentRow = $(this);
currentRow.find('div.form-item :input[name*="type"]').bind('click', Drupal.quicktabsShowHide);
$(':input[name*="type"]:checked', this).trigger('click');
})
}
};
})(jQuery);