Author: nathangray
New Revision: 55384
URL: http://svn.stylite.de/viewvc/egroupware?rev=55384&view=rev
Log:
Fix broken check in current selection causing missing labels
Modified:
trunk/etemplate/js/et2_widget_taglist.js
— trunk/etemplate/js/et2_widget_taglist.js (original)
+++ trunk/etemplate/js/et2_widget_taglist.js Mon Mar 14 22:45:40 2016
@@ -701,11 +701,7 @@
// Check options
(result = $j.grep(this.options.select_options, function(e) {
return e.id == v;
-
})) ||
-
// Check current selection to avoid going back to server
-
(result = $j.grep(this.taglist.getSelection(), function(e) {
-
return e.id == v;
-
}))
@@ -714,6 +710,17 @@
{
this.options.select_options = [];
}
-
values[i] = result[0] ? result[0] : {
-
id: v,
-
label: v
-
};
-
}
-
else if (
-
// Check current selection to avoid going back to server
-
(result = $j.grep(this.taglist.getSelection(), function(e) {
-
return e.id == v;
-
})) && result.length)
-
{
values[i] = result[0] ? result[0] : {
id: v,
label: v
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