Sha256: 6eaf19f6f9dc5707fdc7fd784199e77602d2b7c95b55eae615bdadb32153f92e
Contents?: true
Size: 592 Bytes
Versions: 3
Compression:
Stored size: 592 Bytes
Contents
(function($) { var loadCurrentTableTabOnce = function($el) { $el.load($el.find('a.loading').attr('href')); }; Adhoq.toggleCurrentTables = function(action, elements){ loadCurrentTableTabOnce($('#current-tables')); var $main = $(elements.main); var $tables = $(elements.tables); if (action === 'show') { $main.addClass('col-md-6').removeClass('col-md-12'); $tables.addClass('col-md-6').show(); } else { $main.addClass('col-md-12').removeClass('col-md-6'); $tables.addClass('col-md-6').hide(); } return true; }; })(jQuery);
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
adhoq-1.0.2 | app/assets/javascripts/adhoq/current_tables.js |
adhoq-1.0.1 | app/assets/javascripts/adhoq/current_tables.js |
adhoq-1.0.0 | app/assets/javascripts/adhoq/current_tables.js |