aboutsummaryrefslogtreecommitdiff
path: root/mod/embed/js/embed.js
blob: c29083af717e198e8e549d0b512019e12ba4e23b (plain)
1
2
3
4
5
6
7
8
9
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);
	});

});