Changeset 3415

Show
Ignore:
Timestamp:
03/12/10 14:04:05 (2 years ago)
Author:
fvanderbiest
Message:

gislars sandbox: filterPanel.js

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • sandbox/gislars/sipv/MapFish/client/mfbase/styler/lib/Styler/widgets/FilterPanel.js

    r3414 r3415  
    148148                mode: 'local', 
    149149                width: newCmpWidth,  
    150                 triggerAction: 'all', 
    151                 listeners: { 
    152                     "select": onSelect, 
    153                     scope: this 
    154                 } 
     150                triggerAction: 'all' 
    155151            }, this.comboOptions)); 
     152            field.on('select', onSelect, this); 
    156153             
    157154            store.on('load', function(store, records){ 
     
    169166                format: 'd/m/Y', 
    170167                allowBlank: false, 
    171                 blankText: "Ce champ est nécessaire", 
    172                 listeners: { 
    173                     "select": onSelect, 
    174                     scope: this 
    175                 } 
     168                blankText: "Ce champ est nécessaire" 
    176169            }); 
     170            field.on('select', onSelect, this); 
    177171        } else { 
    178172            var field = new Ext.form.TextField({ 
     
    180174                value: '', 
    181175                allowBlank: false, 
    182                 blankText: "Ce champ est nécessaire", 
    183                 listeners: { 
    184                     "change": onSelect, 
    185                     scope: this 
    186                 } 
     176                blankText: "Ce champ est nécessaire" 
    187177            }); 
     178            field.on('change', onSelect, this); 
    188179        } 
    189180