You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@guacamole.apache.org by vn...@apache.org on 2018/04/29 20:58:58 UTC

[16/19] guacamole-client git commit: GUACAMOLE-526: Remove call to old-style $http success().

GUACAMOLE-526: Remove call to old-style $http success().

Project: http://git-wip-us.apache.org/repos/asf/guacamole-client/repo
Commit: http://git-wip-us.apache.org/repos/asf/guacamole-client/commit/f8bd8d8e
Tree: http://git-wip-us.apache.org/repos/asf/guacamole-client/tree/f8bd8d8e
Diff: http://git-wip-us.apache.org/repos/asf/guacamole-client/diff/f8bd8d8e

Branch: refs/heads/master
Commit: f8bd8d8ec97d2f9d112bafe25b4f5340d5d5cc8c
Parents: ae6b5fc
Author: Michael Jumper <mj...@apache.org>
Authored: Fri Apr 27 00:02:22 2018 -0700
Committer: Michael Jumper <mj...@apache.org>
Committed: Fri Apr 27 00:02:22 2018 -0700

----------------------------------------------------------------------
 guacamole/src/main/webapp/app/rest/services/userService.js | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/guacamole-client/blob/f8bd8d8e/guacamole/src/main/webapp/app/rest/services/userService.js
----------------------------------------------------------------------
diff --git a/guacamole/src/main/webapp/app/rest/services/userService.js b/guacamole/src/main/webapp/app/rest/services/userService.js
index f05ab31..b044205 100644
--- a/guacamole/src/main/webapp/app/rest/services/userService.js
+++ b/guacamole/src/main/webapp/app/rest/services/userService.js
@@ -264,7 +264,7 @@ angular.module('rest').factory('userService', ['$injector',
         })
 
         // Clear the cache
-        .success(function passwordChanged(){
+        .then(function passwordChanged(){
             cacheService.users.removeAll();
         });