Sha256: ec43aef8c618bc89ab062c26d65ba89bdf659e7d149355dddaf8533970980739

Contents?: true

Size: 1.41 KB

Versions: 8

Compression:

Stored size: 1.41 KB

Contents

{I"
class:ETI"BundledAsset;FI"logical_path;TI" carnival/advanced_search.js;TI"
pathname;TI"@/project/app/assets/javascripts/carnival/advanced_search.js;FI"content_type;TI"application/javascript;TI"
mtime;Tl+”eYTI"length;TićI"digest;TI"%3c3679a1caee3ce4d9789c6a993f168d;FI"source;TI"ć$(document).ready(function(){
  $("#advanced_search_toggler").click(function(e){
    $('body').append('<div class="as-form-overlay">')
    $("#advanced_search_toggler").toggleClass('is-opened')
    $("#advanced_search_form").toggle();
    $(".as-form-overlay").click(function(e){
      $(".as-form-overlay").remove();
      $("#advanced_search_form").hide();
      $(".select2-drop").hide();      
      return false
    });
    return false
  });


  $("#search_button").click(function(e){
    e.preventDefault();

    var queryParams = [];

    Carnival.submitIndexForm();
  });

  $("#clear_button").click(function(e){
    e.preventDefault();
    $($(this).parent().parent().parent()).trigger("reset")
    $("#advanced_search_form input").each(function(){
      var inputValue = $(this).val();
      $(this).val('');
    });

    $("#advanced_search_form select").each(function(){
      var inputValue = $(this).val();
      $(this).val('');
    });
    Carnival.submitIndexForm();
  });
});


;TI"required_assets_digest;TI"%c7e1577c2f14e8ea640a074c929314ec;FI"
_version;TI"%6584930913c75ff69ba506e1cfbae2c9;F

Version data entries

8 entries across 4 versions & 1 rubygems

Version Path
carnival-0.1.3 test/carnival-sample-application/tmp/cache/assets/development/sprockets/996ac001c901711cabb64b7e1940c54a
carnival-0.1.3 test/carnival-sample-application/tmp/cache/assets/development/sprockets/d81122f6f2520c8f0785425936756e20
carnival-0.1.2 test/carnival-sample-application/tmp/cache/assets/development/sprockets/996ac001c901711cabb64b7e1940c54a
carnival-0.1.2 test/carnival-sample-application/tmp/cache/assets/development/sprockets/d81122f6f2520c8f0785425936756e20
carnival-0.1.1 test/carnival-sample-application/tmp/cache/assets/development/sprockets/996ac001c901711cabb64b7e1940c54a
carnival-0.1.1 test/carnival-sample-application/tmp/cache/assets/development/sprockets/d81122f6f2520c8f0785425936756e20
carnival-0.1.0 test/carnival-sample-application/tmp/cache/assets/development/sprockets/996ac001c901711cabb64b7e1940c54a
carnival-0.1.0 test/carnival-sample-application/tmp/cache/assets/development/sprockets/d81122f6f2520c8f0785425936756e20