Author: nathangray
New Revision: 55418
URL: http://svn.stylite.de/viewvc/egroupware?rev=55418&view=rev
Log:
Do not fail if selectbox cannot find the top level definition, just make a new cache for the scope
Modified:
trunk/etemplate/js/et2_widget_selectbox.js
— trunk/etemplate/js/et2_widget_selectbox.js (original)
+++ trunk/etemplate/js/et2_widget_selectbox.js Fri Mar 18 16:46:08 2016
@@ -1108,7 +1108,11 @@
options_string = options_string.replace(/,+$/, ‘’);
var cache_id = widget._type+'_'+options_string;
-
var cache = (
-
egw.window.et2_selectbox ?
-
egw.window.et2_selectbox :
-
egw(window).window.et2_selectbox
-
).type_cache[cache_id] || {};
// Options for a selectbox in a nextmatch must be returned now, as the
// widget we have is not enough to set the options later.
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
http://pubads.g.doubleclick.net/gampad/clk?id=278785231&iu=/4140
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs