[eGroupWare-svn] r55866 - /trunk/egroupware/api/js/etemplate/et2_extension_nextmatch.js

[email protected]
Newsgroups gmane.comp.web.egroupware.cvs
Message-ID <[email protected]>
Author: nathangray
Date: Tue Apr 26 20:58:54 2016
New Revision: 55866

URL: http://svn.stylite.de/viewvc/egroupware?rev=55866&view=rev
Log:
Fix customfield columns do not always come back after print

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=55866&r1=55865&r2=55866&view=diff
==============================================================================
--- trunk/egroupware/api/js/etemplate/et2_extension_nextmatch.js (original)
+++ trunk/egroupware/api/js/etemplate/et2_extension_nextmatch.js Tue Apr 26 20:58:54 2016
@@ -2029,6 +2029,10 @@
 
 		
 		var pref = this.options.settings.columnselection_pref;
+		if(pref.indexOf('nextmatch') == 0)
+		{
+			pref = 'nextmatch-'+pref;
+		}
 		var app = this.getInstanceManager().app;
 		
 		var columns = {};
@@ -2244,6 +2248,7 @@
 		}
 		if(pref)
 		{
+			if(typeof pref === 'string') pref = pref.split(',');
 			this.set_columns(pref,app);
 		}
 		this.dynheight.outerNode.css('max-width','inherit');


------------------------------------------------------------------------------
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.