Author: nathangray
New Revision: 55474
URL: http://svn.stylite.de/viewvc/egroupware?rev=55474&view=rev
Log:
Better handling of missing top-level cache (happens in sitemgr) to avoid infinite loops
Modified:
trunk/egroupware/api/js/etemplate/et2_widget_selectbox.js
— trunk/egroupware/api/js/etemplate/et2_widget_selectbox.js (original)
+++ trunk/egroupware/api/js/etemplate/et2_widget_selectbox.js Mon Mar 21 23:25:33 2016
@@ -1110,11 +1110,12 @@
options_string = options_string.replace(/,+$/, ‘’);
var cache_id = widget._type+'_'+options_string;
@@ -1139,7 +1140,7 @@
).sendRequest(!in_nextmatch);
if(typeof cache === ‘undefined’)
{
@@ -1147,10 +1148,10 @@
{
// pending, wait for it
cache.done(jQuery.proxy(function(response) {
@@ -1181,7 +1182,7 @@
// Try again - ask the server with the current value this time
if(missing_option)
{
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=278785351&iu=/4140
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs