Sha256: ce91a062933efe94f8fa78049cb498db3ceb3b0e4c4e1e559b37c9ac4ebca97e
Contents?: true
Size: 750 Bytes
Versions: 1
Compression:
Stored size: 750 Bytes
Contents
// override this file in your application to add custom behaviour //= require 'selectize.min' //= require 'thecore_ui_commons' const adjustIframe = function(obj) { obj.style.height = obj.contentWindow.document.body.scrollHeight + 'px'; }; // // Re evaluate at each iteration // $(document).on('rails_admin.dom_ready', function () { // // If the page loaded has a tag like <span class="hide-breadcrumb hide-toolbar"></span> // // then hide the elements // if ($(".hide-breadcrumb").length) $(".breadcrumb").hide() // else $(".breadcrumb").show() // if ($(".hide-toolbar").length) $(".breadcrumb + .nav.nav-tabs").hide() // else $(".breadcrumb + .nav.nav-tabs").show() // }); //= require 'rails_admin/custom/thecore/ui'
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
thecore_ui_rails_admin-3.0.12 | app/assets/javascripts/rails_admin/custom/ui.js |