summaryrefslogtreecommitdiff
path: root/qpid/java/broker-plugins/management-http/src/main/java/resources/js/qpid/management/authenticationprovider/PrincipalDatabaseAuthenticationManager.js
diff options
context:
space:
mode:
Diffstat (limited to 'qpid/java/broker-plugins/management-http/src/main/java/resources/js/qpid/management/authenticationprovider/PrincipalDatabaseAuthenticationManager.js')
-rw-r--r--qpid/java/broker-plugins/management-http/src/main/java/resources/js/qpid/management/authenticationprovider/PrincipalDatabaseAuthenticationManager.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/qpid/java/broker-plugins/management-http/src/main/java/resources/js/qpid/management/authenticationprovider/PrincipalDatabaseAuthenticationManager.js b/qpid/java/broker-plugins/management-http/src/main/java/resources/js/qpid/management/authenticationprovider/PrincipalDatabaseAuthenticationManager.js
index c5875d59ea..96083843fa 100644
--- a/qpid/java/broker-plugins/management-http/src/main/java/resources/js/qpid/management/authenticationprovider/PrincipalDatabaseAuthenticationManager.js
+++ b/qpid/java/broker-plugins/management-http/src/main/java/resources/js/qpid/management/authenticationprovider/PrincipalDatabaseAuthenticationManager.js
@@ -146,7 +146,7 @@ define(["dojo/_base/xhr",
},
function(error) {that.success = false; that.failureReason = error;});
if(!that.success ) {
- alert("Error:" + this.failureReason);
+ util.xhrErrorHandler(this.failureReason);
}
}
}
@@ -210,7 +210,7 @@ define(["dojo/_base/xhr",
if(that.success === true) {
registry.byId("addUser").hide();
} else {
- alert("Error:" + that.failureReason);
+ util.xhrErrorHandler(this.failureReason);
}
return false;
@@ -267,7 +267,7 @@ define(["dojo/_base/xhr",
if(that.success === true) {
registry.byId("setPassword").hide();
} else {
- alert("Error:" + that.failureReason);
+ util.xhrErrorHandler(this.failureReason);
}
return false;