File tree Expand file tree Collapse file tree 1 file changed +2
-7
lines changed
aspnet-core/src/AbpCompanyName.AbpProjectName.Web.Host/wwwroot/swagger/ui Expand file tree Collapse file tree 1 file changed +2
-7
lines changed Original file line number Diff line number Diff line change 109109 lineHeight : "normal"
110110 } ,
111111 onClick : function ( ) {
112- var authorizeButton = document . getElementById ( 'authorize' ) ;
113112 if ( abp . auth . getToken ( ) ) {
114113 abp . swagger . logout ( ) ;
115- authorizeButton . innerText = getAuthorizeButtonText ( ) ;
116- authorizeButton . className = 'btn ' + getAuthorizeButtonCssClass ( ) ;
114+ location . reload ( ) ;
117115 } else {
118116 abp . swagger . openAuthDialog ( function ( ) {
119- authorizeButton . innerText = getAuthorizeButtonText ( ) ;
120- authorizeButton . className = 'btn ' + getAuthorizeButtonCssClass ( ) ;
121- abp . swagger . closeAuthDialog ( ) ;
117+ location . reload ( ) ;
122118 } ) ;
123119 }
124- location . reload ( ) ;
125120 }
126121 } , getAuthorizeButtonText ( ) ) ;
127122 }
You can’t perform that action at this time.
0 commit comments