fixed sometimes preferences for app "eGroupware" are requested

This commit is contained in:
Ralf Becker 2014-02-11 12:17:08 +00:00
parent 6d17e87b0a
commit e7206aa071

View File

@ -755,7 +755,7 @@ var et2_link_entry = et2_inputWidget.extend(
doLoadingFinished: function() {
if(typeof this.options.value == 'object' && !this.options.value.app)
{
this.options.value.app = egw.preference('link_app',this.options.value.to_app || window.egw_appName);
this.options.value.app = egw.preference('link_app',this.options.value.to_app || this.egw().app_name());
this.app_select.val(this.options.value.app);
}
return this._super.apply(this,arguments);