Commit bd67ced4 authored by uncol's avatar uncol
Browse files

sa.administrativedomain biosseg_floating_parent_segment fixed

parent 75646724
...@@ -1042,6 +1042,10 @@ Ext.define("NOC.core.ModelApplication", { ...@@ -1042,6 +1042,10 @@ Ext.define("NOC.core.ModelApplication", {
// WARNING: Will skip other inline editors // WARNING: Will skip other inline editors
continue; continue;
} }
if(!Ext.isFunction(field.getModelData)){
// Skip fields without data, e.g. FieldSet
continue;
}
data = field.getModelData(); data = field.getModelData();
if(Ext.isObject(data)) { if(Ext.isObject(data)) {
name = field.getName(); name = field.getName();
......
...@@ -14,7 +14,6 @@ Ext.define("NOC.sa.administrativedomain.Application", { ...@@ -14,7 +14,6 @@ Ext.define("NOC.sa.administrativedomain.Application", {
"NOC.sa.administrativedomain.Model", "NOC.sa.administrativedomain.Model",
"NOC.main.pool.LookupField", "NOC.main.pool.LookupField",
"NOC.main.template.LookupField", "NOC.main.template.LookupField",
"NOC.inv.networksegment.TreeCombo",
"NOC.main.remotesystem.LookupField" "NOC.main.remotesystem.LookupField"
], ],
model: "NOC.sa.administrativedomain.Model", model: "NOC.sa.administrativedomain.Model",
...@@ -94,8 +93,9 @@ Ext.define("NOC.sa.administrativedomain.Application", { ...@@ -94,8 +93,9 @@ Ext.define("NOC.sa.administrativedomain.Application", {
allowBlank: true allowBlank: true
}, },
{ {
xtype: "noc.core.combotree",
restUrl: "/inv/networksegment/",
name: "bioseg_floating_parent_segment", name: "bioseg_floating_parent_segment",
xtype: "inv.networksegment.TreeCombo",
fieldLabel: __("Floating Parent Segment"), fieldLabel: __("Floating Parent Segment"),
allowBlank: true allowBlank: true
} }
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment