aboutsummaryrefslogtreecommitdiffstats
path: root/view/js/mod_sources.js
diff options
context:
space:
mode:
Diffstat (limited to 'view/js/mod_sources.js')
-rw-r--r--view/js/mod_sources.js12
1 files changed, 12 insertions, 0 deletions
diff --git a/view/js/mod_sources.js b/view/js/mod_sources.js
new file mode 100644
index 000000000..140f13843
--- /dev/null
+++ b/view/js/mod_sources.js
@@ -0,0 +1,12 @@
+$(document).ready(function() {
+ var a;
+ a = $("#id_name").autocomplete({
+ serviceUrl: baseurl + '/acl',
+ minChars: 2,
+ width: 350,
+ onSelect: function(value,data) {
+ $("#id_xchan").val(data);
+ }
+ });
+
+});