[pve-devel] r6290 - in pve-manager/pve2: . www/manager/window

svn-commits at proxmox.com svn-commits at proxmox.com
Mon Jul 11 06:39:45 CEST 2011


Author: dietmar
Date: 2011-07-11 06:39:44 +0200 (Mon, 11 Jul 2011)
New Revision: 6290

Modified:
   pve-manager/pve2/ChangeLog
   pve-manager/pve2/www/manager/window/Wizard.js
Log:
also verify top level field container


Modified: pve-manager/pve2/ChangeLog
===================================================================
--- pve-manager/pve2/ChangeLog	2011-07-08 14:30:40 UTC (rev 6289)
+++ pve-manager/pve2/ChangeLog	2011-07-11 04:39:44 UTC (rev 6290)
@@ -1,3 +1,8 @@
+2011-07-11  Proxmox Support Team  <support at proxmox.com>
+
+	* www/manager/window/Wizard.js: also verify top level
+	fieldcontainer
+
 2011-07-07  Proxmox Support Team  <support at proxmox.com>
 
 	* www/manager/node/NetworkEdit.js: correctly set me.create flag

Modified: pve-manager/pve2/www/manager/window/Wizard.js
===================================================================
--- pve-manager/pve2/www/manager/window/Wizard.js	2011-07-08 14:30:40 UTC (rev 6289)
+++ pve-manager/pve2/www/manager/window/Wizard.js	2011-07-11 04:39:44 UTC (rev 6290)
@@ -117,6 +117,9 @@
 	var check_card = function(card) {
 	    var valid = true;
 	    var fields = card.query('field, fieldcontainer');
+	    if (card.isXType('fieldcontainer')) {
+		fields.unshift(card);
+	    }
 	    Ext.Array.each(fields, function(field) {
 		if (!field.isValid()) {
 		    valid = false;



More information about the pve-devel mailing list