Author: nathangray
New Revision: 36536
URL: http://svn.stylite.de/viewvc/egroupware?rev=36536&view=rev
Log:
Get selectbox _appendOptionElement working with empty_label automatically
Modified:
trunk/etemplate/js/et2_widget_selectbox.js
Modified: trunk/etemplate/js/et2_widget_selectbox.js
URL: http://svn.stylite.de/viewvc/egroupware/trunk/etemplate/js/et2_widget_selectbox.js?rev=36536&r1=36535&r2=36536&view=diff
— trunk/etemplate/js/et2_widget_selectbox.js (original)
+++ trunk/etemplate/js/et2_widget_selectbox.js Fri Sep 9 17:47:38 2011
@@ -95,6 +95,10 @@
},
_appendOptionElement: function(_value, _label, _title) {
-
if(_value == "" && (_label == null || _label == "")) { -
_label = this.options.empty_label; -
} -
var option = $j(document.createElement("option")) .attr("value", _value) .text(_label);
@@ -103,7 +107,6 @@
{
option.attr(“title”, _title);
}
option.appendTo(this.input);
},
Why Cloud-Based Security and Archiving Make Sense
Osterman Research conducted this study that outlines how and why cloud
computing security and archiving is rapidly being adopted across the IT
space for its ease of implementation, lower cost, and increased
reliability. Learn more. http://www.accelacomm.com/jaw/sfnl/114/51425301/
eGroupWare-cvs mailing list
eGroupWare-cvs@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/egroupware-cvs