Sha256: 9521e98fca63986f1dbba32dca9dce7e5e5d94f6502fe33051be4f91044e7778
Contents?: true
Size: 1.93 KB
Versions: 4
Compression:
Stored size: 1.93 KB
Contents
// This is a manifest file that'll be compiled into curate.js, which will include all the files // listed below. // // It's not advisable to add code directly here, but if you do, it'll appear at the bottom of the // the compiled file. // // WARNING: THE FIRST BLANK LINE MARKS THE END OF WHAT'S TO BE PROCESSED, ANY BLANK LINE SHOULD // GO AFTER THE REQUIRES BELOW. // // //= require jquery-ui-1.9.2/jquery.ui.widget //= require jquery-ui-1.9.2/jquery.ui.core //= require jquery-ui-1.9.2/jquery.ui.menu //= require jquery-ui-1.9.2/jquery.ui.position //= require jquery-ui-1.9.2/jquery.ui.autocomplete // //= require blacklight/blacklight // //= require bootstrap-dropdown //= require bootstrap-button //= require bootstrap-collapse //= require bootstrap-tooltip //= require bootstrap-popover //= require bootstrap-datepicker/core // //= require manage_repeating_fields //= require toggle_details //= require help_modal //= require jquery.tokeninput //= require curate/select_works //= require curate/link_users //= require curate/proxy_rights //= require curate/facet_mine //= require curate/accept_contributor_agreement //= require handlebars $(function(){ $('abbr').tooltip(); $('body').on('keypress', '.multi-text-field', function(event) { var $activeField = $(event.target).parents('.field-wrapper'), $activeFieldControls = $activeField.children('.field-controls'), $addControl=$activeFieldControls.children('.add'), $removeControl=$activeFieldControls.children('.remove'); if (event.keyCode == 13) { event.preventDefault(); $addControl.click() $removeControl.click() } }); $('.multi_value.control-group').manage_fields(); $('.link-users').linkUsers(); $('.proxy-rights').proxyRights(); $('#set-access-controls .datepicker').datepicker({ format: 'yyyy-mm-dd', startDate: '+1d' }); $('.remove-member').on('ajax:success', function(){window.location.href = window.location.href}); });
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
curate-0.5.6 | app/assets/javascripts/curate.js |
curate-0.5.5 | app/assets/javascripts/curate.js |
curate-0.5.4 | app/assets/javascripts/curate.js |
curate-0.5.2 | app/assets/javascripts/curate.js |