Author: ralfbecker
New Revision: 55837
URL: http://svn.stylite.de/viewvc/egroupware?rev=55837&view=rev
Log:
removed not working typeof value == “array”
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:05:53 2016
@@ -512,14 +512,7 @@
}
jQuery("option",this.input).prop("selected", false);
-
if(typeof _value == "array")
-
{
-
for(var i = 0; i < _value.length; i++)
-
{
-
this.find_option(_value[i]).prop("selected", true);
-
}
-
}
-
else if (typeof _value == "object")
@@ -575,16 +568,10 @@
return jQuery(“input[value=’”+_value.replace(this._escape_value_replace, this._escape_value_with)+"’]", this.multiOptions);
},
- set_multi_value: function(_value) {
- set_multi_value: function(_value)
- {
jQuery(“input”,this.multiOptions).prop(“checked”, false);
-
if(typeof _value == "array")
-
{
-
for(var i = 0; i < _value.length; i++)
-
{
-
this.find_multi_option(_value[i]).prop("checked", true);
-
}
-
}
-
else if (typeof _value == "object")
@@ -814,7 +801,7 @@
else if (this.value === null && this.options.value)
{
// Null means it tried to set the value, and it got stripped by missing options
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