Ignore:
Timestamp:
03/15/12 18:54:48 (12 years ago)
Author:
vmipsl
Message:

User : ajout laboratoire & pays
BO : idem
Création compte : idem
DataProtocole?
Clean accent properties
Language

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tapas/web/resources/js/classesForJQuery/LoginButton.js

    r413 r416  
    3333        this.inscriptionText = param.inscriptionText ? param.inscriptionText : loginTexts["login.inscription"]; 
    3434        this.errorText = param.errorText ? param.errorText : loginTexts[this.errors]; 
     35 
     36        this.containerMainErrors = $( "#errors" ); 
    3537    }, 
    3638 
     
    111113 
    112114        var divErrors = $( document.createElement( "div" ) ); 
    113         divErrors.attr( {id:"errors", class:"containerErrors"} ); 
     115        divErrors.attr( {id:"errorsLogin", class:"containerErrors"} ); 
    114116        containerLoginForm.append( divErrors ); 
    115         this.containerErrors = $( "#errors" ); 
     117        this.containerErrors = $( "#errorsLogin" ); 
    116118    }, 
    117119 
     
    175177        this.parent.empty(); 
    176178        this.display(); 
     179        this.containerMainErrors.hide(); 
    177180    }, 
    178181 
    179182    displayLoginErrors: function ( text ) 
    180183    { 
    181         $( "#errors" ).show(); 
    182         $( "#errors" ).html( text ); 
     184        this.containerErrors.show(); 
     185        this.containerErrors.html( text ); 
    183186    }, 
    184187 
Note: See TracChangeset for help on using the changeset viewer.