aboutsummaryrefslogblamecommitdiffstats
path: root/view/js/mod_sources.js
blob: 49880b38f9a3f679921e0195deb2f42db02b8bca (plain) (tree)
1
2
3
4
5
6
7
8
9



                                             
                                 
                                                
                                                 

                                        
                                               
 
    
$(document).ready(function() { 
	var a; 
	a = $("#id_name").autocomplete({ 
		serviceUrl: baseurl + '/acl',
		minChars: 2,
		width: 250,
		id: 'id-name-ac',
		onSelect: function(value,data) {
			$("#id_abook").val(data);
		}			
	});

	a.setOptions({ params: { type: 'a' }});

});