Hybrid View

  1. #1
    Sencha User davisty's Avatar
    Join Date
    Mar 2010
    Location
    Spanish Fort, Al
    Posts
    270
    Answers
    11
    Vote Rating
    1
    davisty is on a distinguished road

      0  

    Default Answered: Getting sencha touch error when clicking off modal screen

    Answered: Getting sencha touch error when clicking off modal screen


    Uncaught TypeError: Property '2' of object function (e, args) { gen.call(dom, e, o, fn, scope, ename, dom, arguments.callee, args); },function (e, args) {

    Code:
    var  listPanel = new Ext.Panel({                       
    id : 'listPanel',                                      
    renderTo:'modaldiv',                                   
    floating : true,                                       
    centered : false,                                      
    height   : 300,                                        
    width    : 400,                                        
    layout: 'fit',                                         
    modal:true,                                            
    items: [{                                              
    xtype: 'list',                                         
    id : 'List1',                                          
    emptyText: 'No Records were found ',                   
    showAnimation: {                                       
                   type: 'pop',                            
                   duration: 250                           
    store: naStore,                                       
    itemTpl: tpl,                                         
    grouped: true,                                        
    onItemDisclosure: function(record, btn, index) {      
    var thisfield = Ext.getCmp(field);                    
    thisfield.setValue(record.data.NACUST);               
                    }                                     
            }]                                            
          });                                             
        listPanel.showBy(field);                          
        listPanel.show();

  2. Fixed, multiple instances causing the error

  3. #2
    Sencha User davisty's Avatar
    Join Date
    Mar 2010
    Location
    Spanish Fort, Al
    Posts
    270
    Answers
    11
    Vote Rating
    1
    davisty is on a distinguished road

      0  

    Default


    Fixed, multiple instances causing the error