edit-email-button fix
This commit is contained in:
		
							parent
							
								
									21cc9df926
								
							
						
					
					
						commit
						4d9238c476
					
				
							
								
								
									
										15
									
								
								js/issuer.js
									
									
									
									
									
								
							
							
						
						
									
										15
									
								
								js/issuer.js
									
									
									
									
									
								
							@ -368,6 +368,20 @@ $(function () {
 | 
			
		||||
 | 
			
		||||
    window.location = OAUTH3.url.resolve(clientParams.client_uri, clientParams.redirect_uri);
 | 
			
		||||
  };
 | 
			
		||||
  util.editEmail = function () {
 | 
			
		||||
    // var clientParams = OAUTH3.query.parse(loc.hash || loc.search);
 | 
			
		||||
    //
 | 
			
		||||
    // localStorage.clear();
 | 
			
		||||
    //
 | 
			
		||||
    // clientParams.redirect_uri += '?' + OAUTH3.query.stringify({
 | 
			
		||||
    //   state: clientParams.state
 | 
			
		||||
    // , debug: clientParams.debug
 | 
			
		||||
    // });
 | 
			
		||||
    //
 | 
			
		||||
    // window.location = OAUTH3.url.resolve(clientParams.client_uri, clientParams.redirect_uri);
 | 
			
		||||
    $('.js-authn').hide();
 | 
			
		||||
    $('.js-userid-container').show();
 | 
			
		||||
  };
 | 
			
		||||
 | 
			
		||||
 | 
			
		||||
  //
 | 
			
		||||
@ -383,6 +397,7 @@ $(function () {
 | 
			
		||||
  $('body').on('click', '.js-authz-remember-me-not', util.rememberDeviceNot);
 | 
			
		||||
  $('body').on('click', '.js-login-allow', util.acceptScopesAndLogin);
 | 
			
		||||
  $('body').on('click', '.js-login-deny', util.closeLoginDeny);
 | 
			
		||||
  $('body').on('click', '.js-edit-email-button', util.editEmail);
 | 
			
		||||
  $('body').on('keyup', 'form .js-oauth3-email', util.checkAuthEmail);
 | 
			
		||||
 | 
			
		||||
  function handleAuthorizationDialog() {
 | 
			
		||||
 | 
			
		||||
@ -94,10 +94,6 @@ $('body').on('click', '.js-auth-li-enabled', function (ev) {
 | 
			
		||||
 | 
			
		||||
// $('.js-authn-otp-code').mask('####-####-####');
 | 
			
		||||
 | 
			
		||||
$('body').on('click', '.js-edit-email-button', function () {
 | 
			
		||||
  $('.js-userid-container').show();
 | 
			
		||||
});
 | 
			
		||||
 | 
			
		||||
$('body').on('keyup', '.js-oauth3-email', function () {
 | 
			
		||||
  'use strict';
 | 
			
		||||
  var emailAddress = $(this).val();
 | 
			
		||||
 | 
			
		||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user