Sha256: 104e668b8c8e5c7f57156b015d8b48227b18abcbee60ce13e3032183e35de60e

Contents?: true

Size: 1.19 KB

Versions: 8

Compression:

Stored size: 1.19 KB

Contents

{I"
class:ETI"BundledAsset;FI"logical_path;TI"carnival/batch_action.js;FI"
pathname;TI"=/project/app/assets/javascripts/carnival/batch_action.js;FI"content_type;TI"application/javascript;TI"
mtime;Tl+TI"length;TiI"digest;TI"%d8177f2147930b538af20a2ee98ccb32;FI"source;TI"Carnival.batchActionFunction = function(){
  var value = $(this).val();
  if($(this).is(':checked')){
    $(this).parent().parent().addClass('batch_action_item_selected');
    Carnival.batch_action_items.push(value);
  }else{
    $(this).parent().parent().removeClass('batch_action_item_selected');
    Carnival.batch_action_items = Carnival.batch_action_items.filter(function(item){
      return item != value;
    })
  }
}
Carnival.batchActionSelected = function(){
  Carnival.batch_action_items = []
  $('.batch_action_items').click(Carnival.batchActionFunction);
}

Carnival.batchActionSuccessCallback = function(data, status, jqXHR){
  Carnival.reloadIndexPage();
}

Carnival.batchActionErrorCallback = function(jqXHR, status, error){
  Carnival.reloadIndexPage();
}
;
;TI"required_assets_digest;TI"%60426484f1b1655d6485eac59efa0cd3;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/4b6e6db955179fabe966a77cecb884fc
carnival-0.1.3 test/carnival-sample-application/tmp/cache/assets/development/sprockets/56a682a9df1f53c8d67f2467389995b2
carnival-0.1.2 test/carnival-sample-application/tmp/cache/assets/development/sprockets/4b6e6db955179fabe966a77cecb884fc
carnival-0.1.2 test/carnival-sample-application/tmp/cache/assets/development/sprockets/56a682a9df1f53c8d67f2467389995b2
carnival-0.1.1 test/carnival-sample-application/tmp/cache/assets/development/sprockets/4b6e6db955179fabe966a77cecb884fc
carnival-0.1.1 test/carnival-sample-application/tmp/cache/assets/development/sprockets/56a682a9df1f53c8d67f2467389995b2
carnival-0.1.0 test/carnival-sample-application/tmp/cache/assets/development/sprockets/4b6e6db955179fabe966a77cecb884fc
carnival-0.1.0 test/carnival-sample-application/tmp/cache/assets/development/sprockets/56a682a9df1f53c8d67f2467389995b2