Sha256: c3534da7929c92675498dbecae9e4b11e41e9f2a6426b79bb24da7316cd777bf
Contents?: true
Size: 1.46 KB
Versions: 4
Compression:
Stored size: 1.46 KB
Contents
{I" class:ETI"ProcessedAsset; 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"dependency_digest; TI"%60426484f1b1655d6485eac59efa0cd3; FI"required_paths; T[I"=/project/app/assets/javascripts/carnival/batch_action.js; FI"dependency_paths; T[{I" path; TI"=/project/app/assets/javascripts/carnival/batch_action.js; FI" mtime; TI"2014-09-17T23:02:54+00:00; TI"digest; TI"%c1a7fb4353714b4ee5ab1445aa874cd4; FI" _version; TI"%6584930913c75ff69ba506e1cfbae2c9; F
Version data entries
4 entries across 4 versions & 1 rubygems