From 250d2f813a79205bc97425a1181ed447271077be Mon Sep 17 00:00:00 2001 From: Ralf Becker Date: Mon, 17 Mar 2014 15:29:58 +0000 Subject: [PATCH] fixed wrong autocomple url cauased by webserver_url just "/egroupware" and set more reasonable default of allowFreeEntries: false for taglist-accounts --- etemplate/js/et2_widget_taglist.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/etemplate/js/et2_widget_taglist.js b/etemplate/js/et2_widget_taglist.js index 1eeade1aac..be28587617 100644 --- a/etemplate/js/et2_widget_taglist.js +++ b/etemplate/js/et2_widget_taglist.js @@ -250,7 +250,7 @@ var et2_taglist = et2_selectbox.extend( set_autocomplete_url: function(source) { - if(source && source.indexOf('http') != 0) + if(source && source[0] != '/' && source.indexOf('http') != 0) { source = this.egw().ajaxUrl(source); } @@ -345,7 +345,7 @@ var et2_taglist_account = et2_taglist.extend( "default": "home.etemplate_widget_taglist.ajax_search.etemplate" }, allowFreeEntries: { - "default": true, + "default": false, ignore: true }, account_type: {