Sha256: eeb9a8c6be0d9e0b6f6b6657b98a100ae4485c8e323d5f7ce5ada572e958c070

Contents?: true

Size: 963 Bytes

Versions: 4

Compression:

Stored size: 963 Bytes

Contents

{I"
class:ETI"BundledAsset;FI"logical_path;TI"cms/content_types.js;FI"
pathname;TI"t/usr/local/rvm/gems/ruby-2.1.2/bundler/gems/browsercms-a0b88590276e/app/assets/javascripts/cms/content_types.js;FI"content_type;TI"application/javascript;TI"
mtime;Tl+æTI"length;TiÔI"digest;TI"%68d2acf26a4d086e0adbe7e4efd5202e;FI"source;TI"Ô// Adds AJAX behavior primarily for List Portlet

jQuery(function($){
  var select_tag = $('*[data-role="content_type_selector"]');
  var order_field = $('*[data-role="order-fields"]');
  if(select_tag.exists()){
    select_tag.on('change', function(){
      var selected_option = $( this ).val();
      console.log("Changed to", selected_option );
      order_field.load( '/cms/content_types.js .load > .select', { "content_type": selected_option } )
    });
  }
});
;TI"required_assets_digest;TI"%9513847628b30613a81ed96f98ef5818;FI"
_version;TI"%5ef14a844324cba3e114bd0123f88a5e;F

Version data entries

4 entries across 2 versions & 1 rubygems

Version Path
bcms_spree-0.0.2 test/dummy/tmp/cache/assets/development/sprockets/5de2e624513a6efa715975b1be63e30d
bcms_spree-0.0.2 test/dummy/tmp/cache/assets/development/sprockets/ecacabbf2ccc7ac14c79115bd26e1df1
bcms_spree-0.0.1 test/dummy/tmp/cache/assets/development/sprockets/5de2e624513a6efa715975b1be63e30d
bcms_spree-0.0.1 test/dummy/tmp/cache/assets/development/sprockets/ecacabbf2ccc7ac14c79115bd26e1df1