indentation cleanup
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
This commit is contained in:
parent
1aaba242fb
commit
68689d7374
@ -42,8 +42,8 @@ Ext.define('Proxmox.panel.InputPanel', {
|
|||||||
var values = {};
|
var values = {};
|
||||||
|
|
||||||
Ext.Array.each(me.query('[isFormField]'), function(field) {
|
Ext.Array.each(me.query('[isFormField]'), function(field) {
|
||||||
if (!dirtyOnly || field.isDirty()) {
|
if (!dirtyOnly || field.isDirty()) {
|
||||||
Proxmox.Utils.assemble_field_data(values, field.getSubmitData());
|
Proxmox.Utils.assemble_field_data(values, field.getSubmitData());
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
@ -67,10 +67,10 @@ Ext.define('Proxmox.panel.InputPanel', {
|
|||||||
var field = me.query('[isFormField][name=' + fieldId + ']')[0];
|
var field = me.query('[isFormField][name=' + fieldId + ']')[0];
|
||||||
if (field) {
|
if (field) {
|
||||||
field.setValue(val);
|
field.setValue(val);
|
||||||
if (form.trackResetOnLoad) {
|
if (form.trackResetOnLoad) {
|
||||||
field.resetOriginalValue();
|
field.resetOriginalValue();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
||||||
|
@ -88,11 +88,11 @@ Ext.define('Proxmox.window.Edit', {
|
|||||||
Ext.iterate(values, function(fieldId, val) {
|
Ext.iterate(values, function(fieldId, val) {
|
||||||
var field = form.findField(fieldId);
|
var field = form.findField(fieldId);
|
||||||
if (field && !field.up('inputpanel')) {
|
if (field && !field.up('inputpanel')) {
|
||||||
field.setValue(val);
|
field.setValue(val);
|
||||||
if (form.trackResetOnLoad) {
|
if (form.trackResetOnLoad) {
|
||||||
field.resetOriginalValue();
|
field.resetOriginalValue();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
Ext.Array.each(me.query('inputpanel'), function(panel) {
|
Ext.Array.each(me.query('inputpanel'), function(panel) {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user