aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2018-06-09 13:08:14 +0200
committerMario Vavti <mario@mariovavti.com>2018-06-09 13:08:14 +0200
commite37ccb7a63ed9c0c67ebe1600109fe82258615df (patch)
tree6bac8824f99ca54e29527704b7513fcb901bca49 /view/tpl
parentafaa8012c8040a431ff0f1a0908f6e51546cfd32 (diff)
downloadvolse-hubzilla-e37ccb7a63ed9c0c67ebe1600109fe82258615df.tar.gz
volse-hubzilla-e37ccb7a63ed9c0c67ebe1600109fe82258615df.tar.bz2
volse-hubzilla-e37ccb7a63ed9c0c67ebe1600109fe82258615df.zip
move cid filter js to the widget
Diffstat (limited to 'view/tpl')
-rw-r--r--view/tpl/activity_filter_widget.tpl6
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>