Gelmiş geçmiş en büyük porno sitemiz olan 2pe de her zaman en kaliteli pornoları sunmayı hedefledik. Diğer video sitemiz olan vuam da ise hd porno ağırlıklı çalışmalara başladık.

  1. #1
    Ext JS Premium Member
    Join Date
    Jul 2007
    Posts
    65
    Vote Rating
    0
    jord1242 is on a distinguished road

      0  

    Default Problem in Firefox with dateRenderer on column

    Problem in Firefox with dateRenderer on column


    I have a column in a grid that is a date being passed back as:

    Code:
    Sep 23
    Here is my code for the column:

    Code:
    {id:'sched',header: 'Sched', width: 50, sortable: true, dataIndex: 'sched_date', renderer: Ext.util.Format.dateRenderer('M d')},
    In Chrome this renders correctly, and I can sort the column correctly by date (if I leave that out, it sorts the numbers as text and incorrectly sorts them).

    Problem is, in Firefox I am getting the following error:

    Code:
    Date.monthNames[month] is undefined
    http://localhost:9005/static/js/extjs/ext-all.js
    Line 19
    Why would this work just fine in Chrome, but not in Firefox?? Does anyone have a clue on this one? I should be able to use the 'M d' formatter.

    Thanks for any input.

    JJ

  2. #2
    Ext JS Premium Member
    Join Date
    Jul 2007
    Posts
    65
    Vote Rating
    0
    jord1242 is on a distinguished road

      0  

    Default


    Anyone have any ideas on this? I am stumped.

  3. #3
    Ext JS Premium Member
    Join Date
    Jul 2007
    Posts
    65
    Vote Rating
    0
    jord1242 is on a distinguished road

      0  

    Default Figured it out

    Figured it out


    For those that come across this, I was not formatting the date also in the JSONReader:

    Code:
    		reader			: new Ext.data.JsonReader({
    							root 			: 'recruits',
    							totalProperty	: 'totalCountRecruits'
    							},
    							[
    					           {name: 'source_abbr'},
    					           {name: 'source_name'},
    					           {name: 'source_sec_abbr'},
    					           {name: 'source_sec_name'},
    					           {name: 'internet_app'},
    					           {name: 'recept_abbr'},
    					           {name: 'recept_name'},
    					           {name: 'email'},
    					           {name: 'recruit_name'},
    					           {name: 'recruit_office_id'},
    					           {name: 'recruit_id'},
    					           {name: 'sched_date', type: 'date', dateFormat: 'M d'},
    					           {name: 'rescheduled'},
    					           {name: 'noshow'},
    					           {name: 'prior_qual'},
    					           {name: 'showed'},
    					           {name: 'qual'},
    					           {name: 'kept'},
    					           {name: 'accept'},
    					           {name: 'training'}
    					        ]
    		),