[pve-devel] r6201 - in pve-manager/pve2: . www/manager/form

svn-commits at proxmox.com svn-commits at proxmox.com
Wed Jun 29 10:42:08 CEST 2011


Author: dietmar
Date: 2011-06-29 10:42:08 +0200 (Wed, 29 Jun 2011)
New Revision: 6201

Modified:
   pve-manager/pve2/ChangeLog
   pve-manager/pve2/www/manager/form/RealmComboBox.js
Log:
use 'pam' as default realm


Modified: pve-manager/pve2/ChangeLog
===================================================================
--- pve-manager/pve2/ChangeLog	2011-06-29 08:21:19 UTC (rev 6200)
+++ pve-manager/pve2/ChangeLog	2011-06-29 08:42:08 UTC (rev 6201)
@@ -1,5 +1,7 @@
 2011-06-29  Proxmox Support Team  <support at proxmox.com>
 
+	* www/manager/form/RealmComboBox.js: use 'pam' as default realm
+
 	* bin/init.d/pvenetcommit: moved functionality from pvesetup
 	skript
 

Modified: pve-manager/pve2/www/manager/form/RealmComboBox.js
===================================================================
--- pve-manager/pve2/www/manager/form/RealmComboBox.js	2011-06-29 08:21:19 UTC (rev 6200)
+++ pve-manager/pve2/www/manager/form/RealmComboBox.js	2011-06-29 08:42:08 UTC (rev 6201)
@@ -45,8 +45,7 @@
 		if (success) {
 		    var def = me.getValue();
 		    if (!def || !realmstore.findRecord('realm', def)) {
-			if (r[0] && r[0].data)
-			    def = r[0].data.realm;
+			def = 'pam';
 			Ext.each(r, function(record) {
 			    if (record.data && record.data["default"]) 
 				def = record.data.realm;



More information about the pve-devel mailing list