fixed wrong autocomple url cauased by webserver_url just "/egroupware" and set more reasonable default of allowFreeEntries: false for taglist-accounts

This commit is contained in:
Ralf Becker 2014-03-17 15:29:58 +00:00
parent 6a55295b77
commit 250d2f813a

View File

@ -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: {