File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 2424 notification : function ( args ) {
2525 return 'Domain is deleted' ;
2626 }
27- } ,
28-
29- preFilter : function ( args ) {
30- if ( isAdmin ( ) ) {
31- args . $form . find ( '.form-item[rel=isForced]' ) . css ( 'display' , 'inline-block' ) ;
32- }
33- } ,
27+ } ,
3428
3529 createForm : {
36- title : 'Delete domain' ,
30+ title : 'Delete domain' ,
31+ preFilter : function ( args ) {
32+ if ( isAdmin ( ) ) {
33+ args . $form . find ( '.form-item[rel=isForced]' ) . css ( 'display' , 'inline-block' ) ;
34+ }
35+ } ,
3736 fields : {
3837 isForced : {
3938 label : 'Force delete' ,
4443 } ,
4544
4645 action : function ( args ) {
47- var array1 = [ ] ;
48- debugger ;
46+ var array1 = [ ] ;
4947 if ( args . $form . find ( '.form-item[rel=isForced]' ) . css ( "display" ) != "none" ) //uncomment after Brian fix it to include $form in args
5048 array1 . push ( "&cleanup=" + ( args . data . isForced == "on" ) ) ;
5149
You can’t perform that action at this time.
0 commit comments