mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-06-26 12:51:52 +02:00
Get filter options into nm header
This commit is contained in:
parent
aac290a330
commit
c5237863c2
@ -423,6 +423,9 @@ et2_register_widget(et2_nextmatch, ["nextmatch"]);
|
|||||||
|
|
||||||
/**
|
/**
|
||||||
* Standard nextmatch header bar, containing filters, search, record count, letter filters, etc.
|
* Standard nextmatch header bar, containing filters, search, record count, letter filters, etc.
|
||||||
|
*
|
||||||
|
* Unable to use an existing template for this because parent (nm) doesn't, and template widget doesn't
|
||||||
|
* actually load templates from the server.
|
||||||
*/
|
*/
|
||||||
var et2_nextmatch_header_bar = Class.extend(et2_INextmatchHeader, {
|
var et2_nextmatch_header_bar = Class.extend(et2_INextmatchHeader, {
|
||||||
attributes: {
|
attributes: {
|
||||||
@ -579,6 +582,9 @@ var et2_nextmatch_header_bar = Class.extend(et2_INextmatchHeader, {
|
|||||||
"id": this.nextmatch.id + "_"+name,
|
"id": this.nextmatch.id + "_"+name,
|
||||||
},this.nextmatch);
|
},this.nextmatch);
|
||||||
select.set_value(value);
|
select.set_value(value);
|
||||||
|
var mgr = this.nextmatch.getArrayMgr("content").openPerspective(this.nextmatch, this.nextmatch.id);
|
||||||
|
var options = mgr.getEntry("options-" + name);
|
||||||
|
if(options) select.set_select_options(options);
|
||||||
return select;
|
return select;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user