diff --git a/html/pfappserver/root/static/admin/configuration/portal_profile.js b/html/pfappserver/root/static/admin/configuration/portal_profile.js
index <HASH>..<HASH> 100644
--- a/html/pfappserver/root/static/admin/configuration/portal_profile.js
+++ b/html/pfappserver/root/static/admin/configuration/portal_profile.js
@@ -196,7 +196,7 @@ function submitFormHideModalGoToLocation(modal,form) {
         .always(function()  {
             modal.modal('hide');
         })
-        .success(function(data, textStatus, jqXHR) {
+        .done(function(data, textStatus, jqXHR) {
             location.hash = jqXHR.getResponseHeader('Location');
         })
         .fail(function(jqXHR) {
changed deprecated callback success to done