{:uriI"file:///Users/regedor/.rvm/gems/ruby-2.2.2@woodlock/gems/activeadmin-1.0.0.pre1/app/assets/javascripts/active_admin/application.js.coffee?type=application/javascript&pipeline=self&id=a1282796fb521e92a27e2300edbf13731c5750efdae1fbf57a6e815c01222055:ET:load_pathI"d/Users/regedor/.rvm/gems/ruby-2.2.2@woodlock/gems/activeadmin-1.0.0.pre1/app/assets/javascripts;F: filenameI"/Users/regedor/.rvm/gems/ruby-2.2.2@woodlock/gems/activeadmin-1.0.0.pre1/app/assets/javascripts/active_admin/application.js.coffee;T: nameI"active_admin/application;T:logical_pathI"%active_admin/application.self.js;T:content_typeI"application/javascript;T: sourceI"#(function() { $(document).on('ready page:load', function() { var batch_actions_selector; $(document).on('focus', '.datepicker:not(.hasDatepicker)', function() { var defaults, options; defaults = { dateFormat: 'yy-mm-dd' }; options = $(this).data('datepicker-options'); return $(this).datepicker($.extend(defaults, options)); }); $('.clear_filters_btn').click(function() { var param, params, regex; params = window.location.search.split('&'); regex = /^(q\[|q%5B|q%5b|page|commit)/; return window.location.search = ((function() { var i, len, results; results = []; for (i = 0, len = params.length; i < len; i++) { param = params[i]; if (!param.match(regex)) { results.push(param); } } return results; })()).join('&'); }); $('.filter_form').submit(function() { return $(this).find(':input').filter(function() { return this.value === ''; }).prop('disabled', true); }); $('.filter_form_field.select_and_search select').change(function() { return $(this).siblings('input').prop({ name: "q[" + this.value + "]" }); }); $('#active_admin_content .tabs').tabs(); if ((batch_actions_selector = $('.table_tools .batch_actions_selector')).length) { return batch_actions_selector.next().css({ width: "calc(100% - 10px - " + (batch_actions_selector.outerWidth()) + "px)", 'float': 'right' }); } }); }).call(this); ;T: metadata{ :dependencieso:Set: @hash{ I"environment-version;TTI"environment-paths;TTI"jprocessors:type=application/javascript&file_type=application/javascript&engines=.coffee&pipeline=self;TTI"file-digest:///Users/regedor/.rvm/gems/ruby-2.2.2@woodlock/gems/activeadmin-1.0.0.pre1/app/assets/javascripts/active_admin/application.js.coffee;TT: requiredo;;{: stubbedo;;{: linkso;;{: charsetI" utf-8;F: digest"%>Lz1:(5.MHj3B:P: lengthi#:dependencies_digest"%^+\j~%NX~1ɡ):idI"Ea1282796fb521e92a27e2300edbf13731c5750efdae1fbf57a6e815c01222055;F: mtimel+@U