Sha256: 25150f3f338da61010624a93e5cbfb378374abf98109a7259c88100583822eea

Contents?: true

Size: 264 Bytes

Versions: 17

Compression:

Stored size: 264 Bytes

Contents

class Tenon.features.MultipleAssetAttachment extends Tenon.features.AssetAttachment
  _uploadComplete: (e, data) ->
    @_addAssociation()
    super

  _addAssociation: ->
    $('.add_fields').click()
    @$assetField = $('.nested-fields .tn-tc-asset-field:last')

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
tenon-1.1.8 app/assets/javascripts/tenon/features/multiple_asset_attachment.js.coffee
tenon-1.1.7 app/assets/javascripts/tenon/features/multiple_asset_attachment.js.coffee
tenon-1.1.6 app/assets/javascripts/tenon/features/multiple_asset_attachment.js.coffee
tenon-1.1.5 app/assets/javascripts/tenon/features/multiple_asset_attachment.js.coffee
tenon-1.1.4 app/assets/javascripts/tenon/features/multiple_asset_attachment.js.coffee
tenon-1.1.3 app/assets/javascripts/tenon/features/multiple_asset_attachment.js.coffee
tenon-1.1.2 app/assets/javascripts/tenon/features/multiple_asset_attachment.js.coffee
tenon-1.1.1 app/assets/javascripts/tenon/features/multiple_asset_attachment.js.coffee
tenon-1.0.76 app/assets/javascripts/tenon/features/multiple_asset_attachment.js.coffee
tenon-1.0.75 app/assets/javascripts/tenon/features/multiple_asset_attachment.js.coffee
tenon-1.0.74 app/assets/javascripts/tenon/features/multiple_asset_attachment.js.coffee
tenon-1.0.73 app/assets/javascripts/tenon/features/multiple_asset_attachment.js.coffee
tenon-1.0.72 app/assets/javascripts/tenon/features/multiple_asset_attachment.js.coffee
tenon-1.0.71 app/assets/javascripts/tenon/features/multiple_asset_attachment.js.coffee
tenon-1.0.70 app/assets/javascripts/tenon/features/multiple_asset_attachment.js.coffee
tenon-1.0.69 app/assets/javascripts/tenon/features/multiple_asset_attachment.js.coffee
tenon-1.0.68 app/assets/javascripts/tenon/features/multiple_asset_attachment.js.coffee