Avoid permission error when searching

This commit is contained in:
Nathan Gray 2013-11-18 21:20:01 +00:00
parent 2b7d9af0a2
commit 363e2d5d5f

View File

@ -51,7 +51,7 @@ var et2_taglist = et2_selectbox.extend(
"autocomplete_url": { "autocomplete_url": {
"name": "Autocomplete source", "name": "Autocomplete source",
"type": "string", "type": "string",
"default": "etemplate_widget_taglist::ajax_search::etemplate", "default": "etemplate_widget_taglist.ajax_search.etemplate",
"description": "Menuaction (app.class.function) for autocomplete data source. Must return actual JSON, and nothing more." "description": "Menuaction (app.class.function) for autocomplete data source. Must return actual JSON, and nothing more."
}, },
"autocomplete_params": { "autocomplete_params": {
@ -140,7 +140,7 @@ var et2_taglist = et2_selectbox.extend(
this.taglist = $j('<div/>').appendTo(this.div); this.taglist = $j('<div/>').appendTo(this.div);
var options = jQuery.extend( { var options = jQuery.extend( {
data: this.options.select_options && !jQuery.isEmptyObject(this.options.select_options) ? this._options2data(this.options.select_options) : this.options.autocomplete_url, data: this.options.select_options && !jQuery.isEmptyObject(this.options.select_options) ? this._options2data(this.options.select_options) : this.egw().getAppName() + '.'+this.options.autocomplete_url,
dataUrlParams: this.options.autocomplete_params, dataUrlParams: this.options.autocomplete_params,
method: 'GET', method: 'GET',
displayField: "label", displayField: "label",
@ -336,7 +336,7 @@ var et2_taglist_email = et2_taglist.extend(
{ {
attributes: { attributes: {
"autocomplete_url": { "autocomplete_url": {
"default": "etemplate_widget_taglist::ajax_email::etemplate", "default": "home.etemplate_widget_taglist.ajax_email.etemplate",
}, },
"autocomplete_params": { "autocomplete_params": {
"default": {}, "default": {},