From: <nat...@us...> - 2013-03-25 23:00:16
|
Author: nathangray Date: Mon Mar 25 23:59:48 2013 New Revision: 42114 URL: http://svn.stylite.de/viewvc/egroupware?rev=42114&view=rev Log: Look for cat_id options in parent(global) sel_options manager too Modified: trunk/etemplate/js/et2_extension_nextmatch_rowProvider.js Modified: trunk/etemplate/js/et2_extension_nextmatch_rowProvider.js URL: http://svn.stylite.de/viewvc/egroupware/trunk/etemplate/js/et2_extension_nextmatch_rowProvider.js?rev=42114&r1=42113&r2=42114&view=diff ============================================================================== --- trunk/etemplate/js/et2_extension_nextmatch_rowProvider.js (original) +++ trunk/etemplate/js/et2_extension_nextmatch_rowProvider.js Mon Mar 25 23:59:48 2013 @@ -470,6 +470,8 @@ { // Nextmatch category filter should put them here var categories = _mgrs["sel_options"].getEntry('cat_id'); + // Or they are in the global - 1 level up + if(!categories) categories = _mgrs["sel_options"].parentMgr.getEntry('cat_id'); // If not using category (tracker, calendar list) look for sel_options in the rows if(!categories) categories = _mgrs["sel_options"].parentMgr.getEntry(category_location); if(!categories) categories = _mgrs["sel_options"].getEntry("${row}["+category_location + "]"); |