From 363e2d5d5f69ab3b518d052fa83d5da8b99eb249 Mon Sep 17 00:00:00 2001 From: Nathan Gray Date: Mon, 18 Nov 2013 21:20:01 +0000 Subject: [PATCH] Avoid permission error when searching --- etemplate/js/et2_widget_taglist.js | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/etemplate/js/et2_widget_taglist.js b/etemplate/js/et2_widget_taglist.js index 63d2ef0d3e..86bff0c72a 100644 --- a/etemplate/js/et2_widget_taglist.js +++ b/etemplate/js/et2_widget_taglist.js @@ -51,7 +51,7 @@ var et2_taglist = et2_selectbox.extend( "autocomplete_url": { "name": "Autocomplete source", "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." }, "autocomplete_params": { @@ -140,7 +140,7 @@ var et2_taglist = et2_selectbox.extend( this.taglist = $j('
').appendTo(this.div); 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, method: 'GET', displayField: "label", @@ -336,7 +336,7 @@ var et2_taglist_email = et2_taglist.extend( { attributes: { "autocomplete_url": { - "default": "etemplate_widget_taglist::ajax_email::etemplate", + "default": "home.etemplate_widget_taglist.ajax_email.etemplate", }, "autocomplete_params": { "default": {},