1. #1
    Sencha User
    Join Date
    Apr 2012
    Posts
    81
    Answers
    3
    Vote Rating
    0
    mice-pace is on a distinguished road

      0  

    Default Unanswered: screen grayed out after submit... hidden waitmsg?

    Unanswered: screen grayed out after submit... hidden waitmsg?


    I was customising a piece of code someone else wrote, causing the form to basically load the data into another panel and switch to it, and this appears to work fine in every respect except that the screen is grayed out when i finally get there... my guess is that the wait message is still displayed or extant someone, and keeping the screen grayed out.

    Has anyone ran into this before, can they confirm it? If it is, what do i run to tell the waitmsg it's job is done? and if it's not what, would you recommend i should check to track this down?

    Code:
    var form = Ext.getCmp('jobFindPanel').getForm();
                        if(form.isValid())
                            form.submit({
                                waitMsg:'Loading...',
                                url: 'data/searchjobs.php',
                                success: function(form,action) {
                                    if (action.result.success == "true"){
                                        var data = action.result.data;
                                        var metadata = action.result.rows;
                                        report = Ext.create('MyApp.view.jobReport');
                                        report.displayJobList(data, metadata);
                                        centerRegion = Ext.getCmp('centerPanel');
                                        centerRegion.removeAll();
                                        centerRegion.add(report);
                                    }else{
                                        Ext.MessageBox.alert('Processing Error',action.msg);
                                    }
                                },
                                failure: function(form,action){
                                    Ext.MessageBox.alert('Access Error',action.msg);
                                }
                            });
    PostScript: I'm using ExtJS 4.1... I hope this code is fairly self explanatory, the only thing not quite explaining itself is displayJobList()... You probably don't need to know what it's doing, but it loads the data into that panel before the panel is displayed

  2. #2
    Sencha - Community Support Team sword-it's Avatar
    Join Date
    May 2012
    Location
    Istanbul
    Posts
    1,333
    Answers
    124
    Vote Rating
    85
    sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough sword-it is a jewel in the rough

      0  
    sword-it.com, Sencha Developer House in Turkey - Istanbul University Technopark Suite 204.

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