bf97b52 Fixed ipa.js for sessions.

Authored and Committed by edewata 12 years ago
    Fixed ipa.js for sessions.
    
    The patch fixes a problem in error_handler_login() when it gets
    an error other than 401.
    
    The login_url is not needed for fixtures because it does not need
    authentication.
    
    The patch also fixes jslint warnings and formatting issues.
    
        
file modified
+9 -8