File tree Expand file tree Collapse file tree 1 file changed +12
-5
lines changed
app/code/Magento/User/view/adminhtml/web/js Expand file tree Collapse file tree 1 file changed +12
-5
lines changed Original file line number Diff line number Diff line change
1
+ /**
2
+ * Copyright © 2016 Magento. All rights reserved.
3
+ * See COPYING.txt for license details.
4
+ */
1
5
define ( [
2
6
"jquery"
3
7
] , function ( $ ) {
8
+ 'use strict' ;
4
9
5
10
return function ( params , elem ) {
6
11
7
12
elem . on ( 'click' , function ( ) {
8
13
if ( $ . validator . validateElement ( $ ( '[name="current_password"]' ) ) ) {
9
- postData = { 'data' : {
10
- 'user_id' : params . objId ,
11
- 'current_password' : $ ( '[name="current_password"]' ) . val ( )
12
- } }
13
- deleteConfirm ( params . message , params . url , params . postData ) ;
14
+ var postData = {
15
+ 'data' : {
16
+ 'user_id' : params . objId ,
17
+ 'current_password' : $ ( '[name="current_password"]' ) . val ( )
18
+ }
19
+ }
20
+ deleteConfirm ( params . message , params . url , postData ) ;
14
21
}
15
22
} ) ;
16
23
}
You can’t perform that action at this time.
0 commit comments