diff options
Diffstat (limited to 'mod/embed/js')
| -rw-r--r-- | mod/embed/js/embed.js | 10 | 
1 files changed, 10 insertions, 0 deletions
diff --git a/mod/embed/js/embed.js b/mod/embed/js/embed.js new file mode 100644 index 000000000..c29083af7 --- /dev/null +++ b/mod/embed/js/embed.js @@ -0,0 +1,10 @@ +$(function() { + +	// change for dropdown +	$('#embed_upload').live('change', function() { +		var upload_section = $(this).val(); +		var url = elgg.get_site_url() + 'embed/embed?active_section=upload&active_upload_section=' + upload_section; +		$('#facebox .body .content').load(url); +	}); + +});
\ No newline at end of file  | 
