fixed javascript error "... has no method egw"

This commit is contained in:
Ralf Becker 2014-02-11 17:30:56 +00:00
parent b3d1ffe1ea
commit 5dec559f11

View File

@ -589,7 +589,7 @@ var et2_link_entry = et2_inputWidget.extend(
self.cache = {};
// Update preference with new value
egw.set_preference(self.options.value.to_app || this.egw().getAppName(),'link_app',self.app_select.val());
egw.set_preference(self.options.value.to_app || self.egw().getAppName(),'link_app',self.app_select.val());
if(typeof self.options.value != 'object') self.options.value = {};
self.options.value.app = self.app_select.val();