Looks like we can't reproduce the issue or there's a problem in the test case provided.
  1. #1
    Ext JS Premium Member
    Join Date
    Dec 2010
    Posts
    2
    Vote Rating
    0
    vkam is on a distinguished road

      0  

    Default Can't open datefield monthpicker more than once

    Can't open datefield monthpicker more than once


    REQUIRED INFORMATION

    Ext version tested:
    • Ext 4.0.6
    Browser versions tested against:
    • Chrome 16.0.912.77 m
    • IE 9
    • FF 9.0.1
    DOCTYPE tested against:
    • <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
    Description:
    • If the datefield's monthpicker is opened and the datepicker is hidden, the monthpicker cannot be displayed again.
    Steps to reproduce the problem:
    • Create a datefield.
    • Click on datefield trigger to open the datepicker, click on the month header to open monthpicker.
    • Close datepicker either by clicking outside of field or by selecting a date to populate datefield.
    • Click on datefield trigger to open the datepicker again, click on the month header to open monthpicker.
    • PROBLEM: monthpicker does not open.
    The result that was expected:
    • The monthpicker should open when the datepicker's monthheader is clicked.
    The result that occurs instead:
    • To the user, clicking on the datepicker's montheader does nothing.
    Test Case:
    Code:
    // simplest example
    Ext.create('Ext.form.field.Date', {
        renderTo: Ext.getBody()
    });
    
    
    // copy of example in Ext.form.field.Date documentation
    // for some reason this works in the docs live example but not in a simple test page
    Ext.create('Ext.form.Panel', {
        renderTo: Ext.getBody(),
        width: 300,
        bodyPadding: 10,
        title: 'Dates',
        items: [{
            xtype: 'datefield',
            anchor: '100%',
            fieldLabel: 'From',
            name: 'from_date',
            maxValue: new Date()  // limited to the current date or prior
        }, {
            xtype: 'datefield',
            anchor: '100%',
            fieldLabel: 'To',
            name: 'to_date',
            value: new Date()  // defaults to today
        }]
    });

    HELPFUL INFORMATION

    Screenshot or Video:
    • none
    See this URL for live test case: http://blime.net/sencha/monthpicker.html

    Debugging already done:
    • Ext.picker.Date.showMonthPicker() is called but monthpicker is not shown.
    Possible fix:
    • not provided
    Additional CSS used:
    • none
    Operating System:
    • Windows 7

  2. #2
    Sencha - Ext JS Dev Team evant's Avatar
    Join Date
    Apr 2007
    Location
    Sydney, Australia
    Posts
    16,785
    Vote Rating
    597
    evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute evant has a reputation beyond repute

      0  

    Default


    Can confirm on 4.0.6, however I tested this against the 4.1 B2 and the issue has already been resolved.

    Thanks for the report.
    Evan Trimboli
    Sencha Developer
    Twitter - @evantrimboli
    Don't be afraid of the source code!

Thread Participants: 1

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..."