Author: kwall
Date: Tue Oct 14 13:21:38 2014
New Revision: 1631746

URL: http://svn.apache.org/r1631746
Log:
QPID-6151: [Java Broker Web Management Console]  Fix race condition affecting 
the display of preference provider attributes

Modified:
    
qpid/trunk/qpid/java/broker-plugins/management-http/src/main/java/resources/js/qpid/management/AuthenticationProvider.js

Modified: 
qpid/trunk/qpid/java/broker-plugins/management-http/src/main/java/resources/js/qpid/management/AuthenticationProvider.js
URL: 
http://svn.apache.org/viewvc/qpid/trunk/qpid/java/broker-plugins/management-http/src/main/java/resources/js/qpid/management/AuthenticationProvider.js?rev=1631746&r1=1631745&r2=1631746&view=diff
==============================================================================
--- 
qpid/trunk/qpid/java/broker-plugins/management-http/src/main/java/resources/js/qpid/management/AuthenticationProvider.js
 (original)
+++ 
qpid/trunk/qpid/java/broker-plugins/management-http/src/main/java/resources/js/qpid/management/AuthenticationProvider.js
 Tue Oct 14 13:21:38 2014
@@ -139,6 +139,7 @@ define(["dojo/_base/xhr",
                this.editPreferencesProviderButton = 
query(".editPreferencesProviderButton", node)[0];
                this.deletePreferencesProviderButton = 
query(".deletePreferencesProviderButton", node)[0];
                this.preferencesProviderAttributes = 
dom.byId("preferencesProviderAttributes")
+               this.preferencesNode = query(".preferencesProviderDetails", 
node)[0];
 
                this.query = "api/latest/authenticationprovider/" + 
encodeURIComponent(authProviderObj.name);
 
@@ -171,7 +172,7 @@ define(["dojo/_base/xhr",
                              else
                              {
                                var preferencesProviderData = 
that.authProviderData.preferencesproviders? 
that.authProviderData.preferencesproviders[0]: null;
-                               that.preferencesNode = 
query(".preferencesProviderDetails", node)[0];
+
                                
that.updatePreferencesProvider(preferencesProviderData);
                              }
                          });



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to