mirror of
https://github.com/EGroupware/egroupware.git
synced 2024-11-23 08:23:12 +01:00
Look for cat_id options in parent(global) sel_options manager too
This commit is contained in:
parent
0c017a4b35
commit
fc0b2d1e8a
@ -470,6 +470,8 @@ var et2_nextmatch_rowProvider = Class.extend({
|
|||||||
{
|
{
|
||||||
// Nextmatch category filter should put them here
|
// Nextmatch category filter should put them here
|
||||||
var categories = _mgrs["sel_options"].getEntry('cat_id');
|
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 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"].parentMgr.getEntry(category_location);
|
||||||
if(!categories) categories = _mgrs["sel_options"].getEntry("${row}["+category_location + "]");
|
if(!categories) categories = _mgrs["sel_options"].getEntry("${row}["+category_location + "]");
|
||||||
|
Loading…
Reference in New Issue
Block a user