[pve-devel] r6331 - pve-manager/pve2/www/manager/window

svn-commits at proxmox.com svn-commits at proxmox.com
Wed Jul 20 08:35:52 CEST 2011


Author: dietmar
Date: 2011-07-20 08:35:52 +0200 (Wed, 20 Jul 2011)
New Revision: 6331

Modified:
   pve-manager/pve2/www/manager/window/Edit.js
Log:
trigger field validations to mark invalid fields


Modified: pve-manager/pve2/www/manager/window/Edit.js
===================================================================
--- pve-manager/pve2/www/manager/window/Edit.js	2011-07-20 04:51:59 UTC (rev 6330)
+++ pve-manager/pve2/www/manager/window/Edit.js	2011-07-20 06:35:52 UTC (rev 6331)
@@ -185,5 +185,10 @@
 	});
 
 	me.callParent();
+
+	if (me.create) {
+	    // trigger field validations to mark invalid fields
+	    form.isValid();
+	}
     }
 });



More information about the pve-devel mailing list