Sha256: 61674ac8c3186b388ce9f1149d1ab97ab8c694b25a2c6fa4375c625f8d74e807

Contents?: true

Size: 553 Bytes

Versions: 2

Compression:

Stored size: 553 Bytes

Contents

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

$( 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.56 lib/generators/templates/applicious_uploader.js.coffee
applicious_utils-0.1.55 lib/generators/templates/applicious_uploader.js.coffee