Sha256: d54558a54d8185a85a08e6f9083d46417c4d72569d0ccd462c5fb9347e69a2c4
Contents?: true
Size: 739 Bytes
Versions: 1
Compression:
Stored size: 739 Bytes
Contents
Blacklight.onLoad(function() { // hide the editor initially $('[data-behavior="reveal-editor"]').each(function(){$($(this).data('target')).hide();}); // Show the form, hide the preview $('[data-behavior="reveal-editor"]').on('click', function(evt) { evt.preventDefault(); $this = $(this); $this.parent().hide(); $($this.data('target')).show(); }); $('.show-confirm').on('click', function(evt) { evt.preventDefault(); evt.stopPropagation(); $('#change-tab-content-block').modal('show'); }); $('#change-tab-btn').on('click', function(evt) { evt.preventDefault(); $('#change-tab-content-block').modal('hide'); $('.nav-tabs a[href="' + location.hash + '"]').tab('show'); }); });
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
hyrax-2.1.0.beta2 | app/assets/javascripts/hyrax/content_blocks.js |