]> git.proxmox.com Git - pve-manager.git/commitdiff
ext6migrate: remove unecessary hacks
authorDominik Csapak <d.csapak@proxmox.com>
Mon, 14 Mar 2016 15:22:33 +0000 (16:22 +0100)
committerDietmar Maurer <dietmar@proxmox.com>
Mon, 14 Mar 2016 16:18:18 +0000 (17:18 +0100)
this removes the two overrides for extjs4

Signed-off-by: Dominik Csapak <d.csapak@proxmox.com>
www/manager6/Toolkit.js

index ff59a55a08871d5e204c2e85af66ae61592eb61c..0976fb178491fa948188d71519592c302ebe3848 100644 (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"'),
 });
 
-// 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
 // see https://www.sencha.com/forum/showthread.php?308989
 Ext.define('PVE.UnderlayPool', {