You've already forked OpenShorte.old
							
							Minor bug fixes, added URL link on redirect page.
This commit is contained in:
		@@ -28,5 +28,5 @@ function urlinsert() {
 | 
			
		||||
    xhr.send( data );
 | 
			
		||||
}
 | 
			
		||||
function logout ( ) {
 | 
			
		||||
    window.location.href = "/?logout";
 | 
			
		||||
    window.location.href = script_name+"?logout";
 | 
			
		||||
}
 | 
			
		||||
 
 | 
			
		||||
@@ -10,7 +10,7 @@ function login() {
 | 
			
		||||
                var response = xhr.responseText;
 | 
			
		||||
                response = JSON.parse ( response );
 | 
			
		||||
                if ( response [ 'status' ] == 200 ) {
 | 
			
		||||
                    window.location.href = "/";
 | 
			
		||||
                    window.location.href = script_name;
 | 
			
		||||
                }
 | 
			
		||||
                else {
 | 
			
		||||
                    document.getElementById ( "responsetext" ).innerHTML = response [ 'error_message' ];
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user