Commit 6ef972ba authored by Ryan Herbert's avatar Ryan Herbert

form_builder.js fix tokeniser

it used the old setup method which no longer exists
parent 48fff7cd
......@@ -298,7 +298,7 @@ FileFormBuilder.prototype.build_set_fieldset = function() {
i2.autocomplete = "off";
i2.onfocus = function() {
new VidjilAutoComplete().setupSamples(this);
new Tokeniser().setup(this, document.getElementById('set_div_' + self.index), document.getElementById('file_set_list_' + self.index));
new Tokeniser(document.getElementById('set_div_' + self.index), document.getElementById('file_set_list_' + self.index));
}
i2.dataset.needsAtwho = true;
i2.dataset.needsTokeniser = true;
......
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