diff options
Diffstat (limited to 'view/tpl')
-rw-r--r-- | view/tpl/activity_filter_widget.tpl | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/view/tpl/activity_filter_widget.tpl b/view/tpl/activity_filter_widget.tpl index 1b1e2c880..1eb11c10f 100644 --- a/view/tpl/activity_filter_widget.tpl +++ b/view/tpl/activity_filter_widget.tpl @@ -16,6 +16,10 @@ <input id="cid-filter" class="form-control form-control-sm{{if $name.sel}} {{$name.sel}}{{/if}}" type="text" value="" placeholder="{{$name.label}}" name="name" title="" /> </form> </div> + <script> + $("#cid-filter").name_autocomplete(baseurl + '/acl', 'a', true, function(data) { + $("#cid").val(data.id); + }); + </script> {{/if}} - </div> |