[eGroupWare-svn] r55948 - /trunk/egroupware/api/js/etemplate/et2_extension_nextmatch.js
[email protected] Fri, 29 Apr 2016 16:35:00 -0000
| Newsgroups | gmane.comp.web.egroupware.cvs |
|---|---|
| Message-ID | <[email protected]> |
Author: nathangray
Date: Fri Apr 29 18:35:00 2016
New Revision: 55948
URL: http://svn.stylite.de/viewvc/egroupware?rev=55948&view=rev
Log:
Only allow printing custom fields if they're already selected (and loaded)
Modified:
trunk/egroupware/api/js/etemplate/et2_extension_nextmatch.js
Modified: trunk/egroupware/api/js/etemplate/et2_extension_nextmatch.js
URL: http://svn.stylite.de/viewvc/egroupware/trunk/egroupware/api/js/etemplate/et2_extension_nextmatch.js?rev=55948&r1=55947&r2=55948&view=diff
==============================================================================
--- trunk/egroupware/api/js/etemplate/et2_extension_nextmatch.js (original)
+++ trunk/egroupware/api/js/etemplate/et2_extension_nextmatch.js Fri Apr 29 18:35:00 2016
@@ -2054,12 +2054,12 @@
if(col.visibility === ET2_COL_VISIBILITY_VISIBLE) columns_selected.push(colName);
}
// Custom fields get listed separately
- if(widget.instanceOf(et2_nextmatch_customfields))
+ if(widget.instanceOf(et2_nextmatch_customfields) && col.visibility === ET2_COL_VISIBILITY_VISIBLE)
{
if(jQuery.isEmptyObject(widget.customfields))
{
// No customfields defined, don't show column
- delete(columns[col.id]);
+ delete(columns[colName]);
continue;
}
for(var field_name in widget.customfields)
------------------------------------------------------------------------------
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