forked from extern/egroupware
Use namespace for nextmatch so children can get their data in the standard way
This commit is contained in:
parent
ed76f0491e
commit
d88d25b704
@ -80,6 +80,7 @@ var et2_nextmatch = et2_DOMWidget.extend(et2_IResizeable, {
|
|||||||
},
|
},
|
||||||
|
|
||||||
legacyOptions: ["template"],
|
legacyOptions: ["template"],
|
||||||
|
createNamespace: true,
|
||||||
|
|
||||||
init: function() {
|
init: function() {
|
||||||
this._super.apply(this, arguments);
|
this._super.apply(this, arguments);
|
||||||
@ -136,7 +137,7 @@ var et2_nextmatch = et2_DOMWidget.extend(et2_IResizeable, {
|
|||||||
|
|
||||||
if (this.id)
|
if (this.id)
|
||||||
{
|
{
|
||||||
var entry = this.getArrayMgr("content").getEntry(this.id);
|
var entry = this.getArrayMgr("content").data;
|
||||||
|
|
||||||
if (entry)
|
if (entry)
|
||||||
{
|
{
|
||||||
@ -842,7 +843,7 @@ var et2_nextmatch_header_bar = Class.extend(et2_INextmatchHeader, {
|
|||||||
"label": this.nextmatch.options.settings[name+"_label"]
|
"label": this.nextmatch.options.settings[name+"_label"]
|
||||||
},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 mgr = this.nextmatch.getArrayMgr("content");
|
||||||
var options = mgr.getEntry("options-" + name);
|
var options = mgr.getEntry("options-" + name);
|
||||||
if(options) select.set_select_options(options);
|
if(options) select.set_select_options(options);
|
||||||
select.set_value(this.nextmatch.options.settings[name]);
|
select.set_value(this.nextmatch.options.settings[name]);
|
||||||
|
Loading…
Reference in New Issue
Block a user