File tree Expand file tree Collapse file tree 5 files changed +6
-6
lines changed
AbpCompanyName.AbpProjectName.WebMpa/Views
AbpCompanyName.AbpProjectName.WebSpaAngular/Views/Account Expand file tree Collapse file tree 5 files changed +6
-6
lines changed Original file line number Diff line number Diff line change 55 abp . ajax ( {
66 url : abp . appPath + 'Account/TenantChangeModal' ,
77 type : 'POST' ,
8- contentType : 'application/ html' ,
8+ dataType : 'html' ,
99 success : function ( content ) {
1010 $ ( '#TenantChangeModal div.modal-content' ) . html ( content ) ;
1111 } ,
Original file line number Diff line number Diff line change 2626 abp . ajax ( {
2727 url : abp . appPath + 'Roles/EditRoleModal?roleId=' + roleId ,
2828 type : 'POST' ,
29- contentType : 'application/ html' ,
29+ dataType : 'html' ,
3030 success : function ( content ) {
3131 $ ( '#RoleEditModal div.modal-content' ) . html ( content ) ;
3232 } ,
Original file line number Diff line number Diff line change 2525 abp . ajax ( {
2626 url : abp . appPath + 'Tenants/EditTenantModal?tenantId=' + tenantId ,
2727 type : 'POST' ,
28- contentType : 'application/ html' ,
28+ dataType : 'html' ,
2929 success : function ( content ) {
3030 $ ( '#TenantEditModal div.modal-content' ) . html ( content ) ;
3131 } ,
Original file line number Diff line number Diff line change 3232 abp . ajax ( {
3333 url : abp . appPath + 'Users/EditUserModal?userId=' + userId ,
3434 type : 'POST' ,
35- contentType : 'application/ html' ,
35+ dataType : 'html' ,
3636 success : function ( content ) {
3737 $ ( '#UserEditModal div.modal-content' ) . html ( content ) ;
3838 } ,
Original file line number Diff line number Diff line change 22 $ ( '.tenant-change-component a' )
33 . click ( function ( e ) {
44 e . preventDefault ( ) ;
5- $ . ajax ( {
5+ abp . ajax ( {
66 url : abp . appPath + 'Account/TenantChangeModal' ,
77 type : 'POST' ,
8- contentType : 'application/ html' ,
8+ dataType : 'html' ,
99 success : function ( content ) {
1010 $ ( '#TenantChangeModal div.modal-content' ) . html ( content ) ;
1111 } ,
You can’t perform that action at this time.
0 commit comments