Ignore:
Timestamp:
12/14/11 15:21:38 (13 years ago)
Author:
vmipsl
Message:

evo MGI 009 _ affichage des dates pour les plate-formes mobiles

File:
1 edited

Legend:

Unmodified
Added
Removed
  • ether_megapoli/trunk/web/resources/js/classesForJQuery/Loading.js

    r234 r298  
    1515        this.parent = parameters.parent; 
    1616        this.id = parameters.id; 
     17        this.className = parameters.className ? parameters.className : false; 
    1718 
    1819        //Create loading component 
    1920        this.loadingDiv = $( document.createElement( "div" ) ); 
    2021        this.loadingDiv.attr( {id:this.id, class:"loading-classic"} ); 
     22        if( this.className ) 
     23            this.loadingDiv.addClass( this.className ); 
    2124        this.parent.append( this.loadingDiv ); 
    2225        this.hide(); 
Note: See TracChangeset for help on using the changeset viewer.