File tree Expand file tree Collapse file tree 2 files changed +8
-3
lines changed
src/Umbraco.Web.UI.Client/src/views/common/overlays/user Expand file tree Collapse file tree 2 files changed +8
-3
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 6
6
</ h5 >
7
7
8
8
< umb-button
9
- action ="model.close () "
9
+ action ="editUser () "
10
10
alias ="editUser "
11
11
button-style ="action "
12
- href ="#/users/users/user/{{user.id}} "
13
12
label ="Edit "
14
13
label-key ="general_edit "
15
14
ng-if ="canEditProfile "
16
- type ="link ">
15
+ type ="button ">
17
16
</ umb-button >
18
17
19
18
< umb-button
You can’t perform that action at this time.
0 commit comments