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 = {};
|
||||
|
||||
Ext.Array.each(me.query('[isFormField]'), function(field) {
|
||||
if (!dirtyOnly || field.isDirty()) {
|
||||
Proxmox.Utils.assemble_field_data(values, field.getSubmitData());
|
||||
if (!dirtyOnly || field.isDirty()) {
|
||||
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];
|
||||
if (field) {
|
||||
field.setValue(val);
|
||||
if (form.trackResetOnLoad) {
|
||||
field.resetOriginalValue();
|
||||
}
|
||||
}
|
||||
if (form.trackResetOnLoad) {
|
||||
field.resetOriginalValue();
|
||||
}
|
||||
}
|
||||
});
|
||||
},
|
||||
|
||||
|
@ -88,11 +88,11 @@ Ext.define('Proxmox.window.Edit', {
|
||||
Ext.iterate(values, function(fieldId, val) {
|
||||
var field = form.findField(fieldId);
|
||||
if (field && !field.up('inputpanel')) {
|
||||
field.setValue(val);
|
||||
if (form.trackResetOnLoad) {
|
||||
field.resetOriginalValue();
|
||||
}
|
||||
}
|
||||
field.setValue(val);
|
||||
if (form.trackResetOnLoad) {
|
||||
field.resetOriginalValue();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
Ext.Array.each(me.query('inputpanel'), function(panel) {
|
||||
|
Loading…
Reference in New Issue
Block a user