1. #1
    Ext User
    Join Date
    Dec 2007
    Posts
    2
    Vote Rating
    0
    1900 is on a distinguished road

      0  

    Default [2.??] json.js incompatability

    [2.??] json.js incompatability


    Within a portal environment which uses function from a library json.js against javascript Arrays, extJS is throwing an exception during the destroy of grid panels.

    The library json.js contains a prototype for 'Object'. This adds a toJSONString function via 'Object.prototype.toJSONString'.

    The destroy function is not checking the 'dds[dd]' that it either has a 'config' object or is an object itself.

    Suggesting to check the var somehow... ie:
    Code:
    if (!dds[dd].config) {
    } else
    if(!dds[dd].config.isTarget && dds[dd].dragElId){

    This occurs through and including v2.1.

    in V2.1
    line 30729 throws exception when
    Code:
            if(this.grid.enableColumnMove){
                var dds = Ext.dd.DDM.ids['gridHeader' + this.grid.getGridEl().id];
                if(dds){
                    for(var dd in dds){
                        if(!dds[dd].config.isTarget && dds[dd].dragElId){
                            var elid = dds[dd].dragElId;
                            dds[dd].unreg();
                            Ext.get(elid).remove();
    Last edited by mystix; 23 Apr 2008 at 5:58 PM. Reason: use [code][/code] tags

film izle

hd film izle

film sitesi

takipci kazanma sitesi

takipci kazanma sitesi

güzel olan herşey

takipci alma sitesi

komik eğlenceli videolar