Sha256: 7ccb9697c24d4cd912bb09233a8c61b5d3023c65d8e08fc4b8b2b02d1fa25428

Contents?: true

Size: 1.58 KB

Versions: 21

Compression:

Stored size: 1.58 KB

Contents

<script type="text/javascript">
		var swfu = null;
	
		function init_swfupload() {
		  var params = editor.config['swf_params'];
		
			swfu = new SWFUpload({
				// Backend settings
				upload_url: upload_path,
				post_params: params,
				file_post_name: "<%= @swf_file_post_name %>",

				// Flash file settings
				file_size_limit : "<%= @file_size_limit %>",
				file_types : "<%= @file_types %>",
				file_types_description : "<%= @file_types_description %>",
				file_upload_limit : "<%= @file_upload_limit %>",
				file_queue_limit : 0,

				// The event handler functions are defined in handlers.js
				//swfupload_loaded_handler : swfUploadLoaded,
				file_queued_handler : fileQueued,
				file_queue_error_handler : fileQueueError,
				file_dialog_complete_handler : fileDialogComplete,
				upload_start_handler : uploadStart,
				upload_progress_handler : uploadProgress,
				upload_error_handler : uploadError,
				upload_success_handler : uploadSuccess,
				upload_complete_handler : uploadComplete,
				queue_complete_handler : queueComplete,	// Queue plugin event

				// Button Settings
				button_image_url : "/javascripts/ckeditor/images/select_files.png",
				button_placeholder_id : "spanButtonPlaceholder",
				button_width: 117,
				button_height: 29,
				button_window_mode: SWFUpload.WINDOW_MODE.TRANSPARENT,
				button_cursor: SWFUpload.CURSOR.HAND,
				
				// Flash Settings
				flash_url : "/javascripts/ckeditor/swfupload/swfupload.swf",

				custom_settings : { 
					progressTarget : "divFileProgressContainer"
				},
				
				// Debug settings
				debug: false
			});
		};
</script>

Version data entries

21 entries across 21 versions & 5 rubygems

Version Path
dust-ckeditor-3.5.0 app/views/ckeditor/_swfupload.html.erb
hifi-ckeditor-3.5.2 app/views/ckeditor/_swfupload.html.erb
hifi-ckeditor-3.5.1 app/views/ckeditor/_swfupload.html.erb
artemk-ckeditor-3.5.5 app/views/ckeditor/_swfupload.html.erb
ckeditor-jess-3.4.3 app/views/ckeditor/_swfupload.html.erb
ckeditor-3.5.0 app/views/ckeditor/_swfupload.html.erb
artemk-ckeditor-3.5.4 app/views/ckeditor/_swfupload.html.erb
artemk-ckeditor-3.4.4 app/views/ckeditor/_swfupload.html.erb
artemk-ckeditor-3.4.3 app/views/ckeditor/_swfupload.html.erb
ckeditor-3.4.3.pre app/views/ckeditor/_swfupload.html.erb
ckeditor-3.4.3 app/views/ckeditor/_swfupload.html.erb
ckeditor-3.4.2.pre app/views/ckeditor/_swfupload.html.erb
ckeditor-3.4.2 app/views/ckeditor/_swfupload.html.erb
ckeditor-3.4.1.pre app/views/ckeditor/_swfupload.html.erb
ckeditor-3.4.1 app/views/ckeditor/_swfupload.html.erb
ckeditor-3.4.0 app/views/ckeditor/_swfupload.html.erb
ckeditor-3.4.0.pre app/views/ckeditor/_swfupload.html.erb
ckeditor-3.3.2 app/views/ckeditor/_swfupload.html.erb
ckeditor-3.2.4 app/views/ckeditor/_swfupload.html.erb
ckeditor-3.2.3 app/views/ckeditor/_swfupload.html.erb