Commit 348a30c3 authored by Ryan Herbert's avatar Ryan Herbert

rename group-ids data attribute in views for tags

parent 12b2deac
......@@ -318,7 +318,7 @@ Info.prototype = {
textarea.innerHTML = info ;
textarea.setAttribute('placeholder', placeholder);
$(textarea).data('group-ids', [this.m.group_id]);
$(textarea).data('keys', [this.m.group_id]);
$(textarea).data('needs-atwho', true);
$(textarea).on('focus', function() {
new VidjilAutoComplete().setupTags(this);
......
......@@ -10,7 +10,7 @@
search
<input id="db_filter_input" type="text" value="{{=request.vars["filter"]}}" onchange="db.call('sample_set/all', {'type': '{{=helper.get_type()}}', 'filter' : this.value} )"
onfocus="new VidjilAutoComplete().setupTags(this);"
data-needs-atwho="true" data-group-ids="{{=group_ids}}">
data-needs-atwho="true" data-keys="{{=group_ids}}">
</div>
</div>
......
......@@ -22,7 +22,7 @@
'filter' : this.value,
'custom_list' : db.getListInput('custom_result[]')} )"
onfocus="new VidjilAutoComplete().setupTags(this);"
data-needs-atwho="true" data-group-ids="{{=group_ids}}">
data-needs-atwho="true" data-keys="{{=group_ids}}">
</div>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment