Sha256: 72adb049a49fbbc922eebf2cd242bb1fdd94b394716be4a7c3c5460527d1cd65

Contents?: true

Size: 777 Bytes

Versions: 24

Compression:

Stored size: 777 Bytes

Contents

//= require jquery
//= require jquery_ujs
//= require jquery-ui
//= require bootstrap
//= require wice_grid
//= require bootstrap-datetimepicker.min

function toggleSubMenu() {
  $('.child').hide();
  $('.parent').children().click(function() {
    if ($(this).hasClass('toggle')) {
      $(this).removeClass('toggle');
    } else {
      $(this).addClass('toggle');
    }
    $(this).children('.child').slideToggle('slow');  
  }).children('.child').click(function (event) {
    event.stopPropagation();
  });
}

$(document).ready(function() {
  $("a[rel=popover]").popover();
  $(".tooltip").tooltip();
  $("a[rel=tooltip]").tooltip();
  $('.dropdown-toggle').dropdown();

  $('.datetimepicker').datetimepicker({
    format: 'yyyy-MM-dd hh:mm:ss'
  });

  toggleSubMenu();
});

Version data entries

24 entries across 24 versions & 2 rubygems

Version Path
conte_rails_template-0.0.29 vendor/assets/javascripts/conte.js
conte_rails_template-0.0.28 vendor/assets/javascripts/conte.js
conte_rails_template-0.0.27 vendor/assets/javascripts/conte.js
conte_rails_template-0.0.26 vendor/assets/javascripts/conte.js