Sha256: 8c7bb5170d0fd45e3546f87d099bff5965a4138f85aa35e0eb36337a809e62c6

Contents?: true

Size: 553 Bytes

Versions: 2

Compression:

Stored size: 553 Bytes

Contents

# # # # # # #
# Uploader  #
# # # # # # #

AP.Uploader.init()

AP.Uploader.UploadObj.live 'FilesAdded', (up, files) =>
	AP.log( up, files )
	up.refresh() # Reposition Flash/Silverlight

AP.Uploader.UploadObj.live 'UploadProgress', (up, file) =>
	AP.log( up, file )

AP.Uploader.UploadObj.live 'FileUploaded', (up, file) =>
	AP.log( up, file )

AP.Uploader.UploadObj.live 'Error', (up, error) =>
	AP.log( up, error )
	up.refresh() # Reposition Flash/Silverlight

$('#upload_file').click (e) ->
	AP.Uploader.UploadObj.start()
	e.preventDefault()
# - - - #

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
applicious_utils-0.1.52 lib/generators/templates/applicious_uploader.js.coffee
applicious_utils-0.1.51 lib/generators/templates/applicious_uploader.js.coffee