ext6migrate: remove unecessary hacks

this removes the two overrides for extjs4

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
This commit is contained in:
Dominik Csapak 2016-03-14 16:22:33 +01:00 committed by Dietmar Maurer
parent c90539dead
commit aa5dbcc32f

View File

@ -97,21 +97,6 @@ Ext.apply(Ext.form.field.VTypes, {
pveMailText: gettext('This field should be an e-mail address in the format "user@example.com"'), pveMailText: gettext('This field should be an e-mail address in the format "user@example.com"'),
}); });
// we dont want that a displayfield set the form dirty flag!
Ext.override(Ext.form.field.Display, {
isDirty: function() { return false; }
});
// hack: ExtJS does not display the correct value if we
// call setValue while the store is loading, so we need
// to call it again after loading
Ext.override(Ext.form.field.ComboBox, {
onLoad: function() {
this.setValue(this.value, false);
this.callOverridden(arguments);
}
});
// ExtJs 5-6 has an issue with caching // ExtJs 5-6 has an issue with caching
// see https://www.sencha.com/forum/showthread.php?308989 // see https://www.sencha.com/forum/showthread.php?308989
Ext.define('PVE.UnderlayPool', { Ext.define('PVE.UnderlayPool', {