Author: nathangray
New Revision: 55836
URL: http://svn.stylite.de/viewvc/egroupware?rev=55836&view=rev
Log:
Keep value if et2 tried to set it before select_options were there, and it got stripped out
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 Apr 25 22:02:58 2016
@@ -807,7 +807,15 @@
this.input.trigger(“liszt:updated”);
}
// Sometimes value gets set before options
-
if(this.value || this.options.empty_label)
-
{
-
this.set_value(this.value, true); // true = dont try to set_options, to avoid an infinit recursion
-
}
-
else if (this.value === null && this.options.value)
-
{
-
// Null means it tried to set the value, and it got stripped by missing options
-
this.set_value(this.options.value, true)
-
}
},
getValue: function() {
Find and fix application performance issues faster with Applications Manager
Applications Manager provides deep performance insights into multiple tiers of
your business applications. It resolves application problems quickly and
reduces your MTTR. Get your free trial!
https://ad.doubleclick.net/ddm/clk/302982198;130105516;z
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs