File tree Expand file tree Collapse file tree 2 files changed +9
-4
lines changed
src/Umbraco.Web.UI.Client/src/views/common/overlays/user Expand file tree Collapse file tree 2 files changed +9
-4
lines changed Original file line number Diff line number Diff line change @@ -182,6 +182,12 @@ angular.module("umbraco")
182
182
$scope . changePasswordModel . value . confirm = "" ;
183
183
}
184
184
185
+ $scope . editUser = function ( ) {
186
+ $location
187
+ . path ( '/users/users/user/' + $scope . user . id ) ;
188
+ $scope . model . close ( ) ;
189
+ }
190
+
185
191
dashboardResource . getDashboard ( "user-dialog" ) . then ( function ( dashboard ) {
186
192
$scope . dashboard = dashboard ;
187
193
} ) ;
Original file line number Diff line number Diff line change @@ -11,9 +11,8 @@ <h5><localize key="user_yourProfile"></localize></h5>
11
11
12
12
< umb-button
13
13
alias ="editUser "
14
- type ="link "
15
- href ="#/users/users/user/{{user.id}} "
16
- action ="model.close() "
14
+ type ="button "
15
+ action ="editUser() "
17
16
button-style ="action "
18
17
label ="Edit "
19
18
label-key ="general_edit "
75
74
< localize key ="defaultdialogs_unLinkYour "> Un-link your</ localize > {{login.caption}} < localize key ="defaultdialogs_account "> account</ localize >
76
75
</ button >
77
76
</ div >
78
-
77
+
79
78
</ div >
80
79
81
80
</ div >
You can’t perform that action at this time.
0 commit comments