1. #1
    Sencha User
    Join Date
    Jul 2010
    Location
    Paris, France
    Posts
    257
    Vote Rating
    0
    gabrielstuff is on a distinguished road

      0  

    Wink Override default loading mask msg

    Override default loading mask msg


    As I already properly use :

    Code:
    Ext.apply(Ext.MessageBox.YES, {text: 'Oui'});
    Ext.apply(Ext.MessageBox.NO, {text: 'No'});
    
    
    if(Ext.Picker){
        Ext.override(Ext.Picker, {
            'doneText': 'OK',
            'cancelText':'Annuler'
        });
    }
    I'd like to make work :

    Code:
    if(Ext.LoadMask) {
      Ext.override(Ext.LoadMask, {
        'msg' : 'Chargement...'
      });
    }

    Unfortunately if permanently fail... Any hint would be appreciate.

    Thank you !

  2. #2
    Sencha - Services Team arthurakay's Avatar
    Join Date
    Sep 2008
    Location
    Antioch, IL
    Posts
    1,353
    Vote Rating
    33
    arthurakay is a jewel in the rough arthurakay is a jewel in the rough arthurakay is a jewel in the rough

      0  

    Default


    PHP Code:
    if(Ext.LoadMask) {
      
    Ext.override(Ext.LoadMask, {
        
    'msg' 'Chargement...'
      
    });
    }
    var 
    mask = new Ext.LoadMask(Ext.getBody());
    mask.show() 
    That works for me when I paste it into my console...
    Arthur Kay
    Developer Relations Manager, Sencha Inc.

    Twitter | Sencha Chicago User Group

  3. #3
    Sencha User
    Join Date
    Jul 2010
    Location
    Paris, France
    Posts
    257
    Vote Rating
    0
    gabrielstuff is on a distinguished road

      0  

    Default


    Well, this works for sure in the console
    not in my configuration...

    let me look somewhere else.

    =====

    I've look everywhere... and I do not have anything else than

    Code:
    var mask = new Ext.LoadMask(Ext.getBody());
    
    =======

    Found it

    Code:
    if(Ext.DataView){
      Ext.override(Ext.DataView, {
        'loadingText' : 'Chargement...'
      });
    }
    Wouldn't it be nice to have all the string of the framework in a same place ? This would make i18n easier : /

Thread Participants: 1

Tags for this Thread

Turkiyenin en sevilen filmlerinin yer aldigi xnxx internet sitemiz olan ve porn sex tarzi bir site olan mobil porno izle sitemiz gercekten dillere destan bir durumda herkesin sevdigi bir site olarak tarihe gececege benziyor. Sitenin en belirgin ozelliklerinden birisi de Turkiyede gercekten kaliteli ve muntazam, duzenli porno izle siteleri olmamasidir. Bu yuzden iste. Ayrica en net goruntu kalitesine sahip adresinde yayinlanmaktadir. Mesela diğer sitelerimizden bahsedecek olursak, en iyi hd porno video arşivine sahip bir siteyiz. "The Best anal porn videos and slut anus, big asses movies set..." hd porno faketaxi