rem: } else if ( bounds.top > this.getGridBounds().bottom || bounds.left > this.getGridBounds().right || bounds.right < this.getGridBounds().left || bounds.bottom < this.getGridBounds().top  ) { 
add: } else if ( bounds.top < gridBounds.bottom || bounds.left > gridBounds.right || bounds.right < gridBounds.left || bounds.bottom > gridBounds.top  ) { console.log("else if"); 
context:     moveTo:function(bounds,zoomChanged) {        if (!this.getVisibility()) {            if (zoomChanged) {                this.grid = null;            }            return;        }        if (!this.grid || zoomChanged) {            this._initTiles();        } else if ( bounds.top > this.getGridBounds().bottom ||                    bounds.left > this.getGridBounds().right ||                    bounds.right < this.getGridBounds().left ||                    bounds.bottom < this.getGridBounds().top  ) {            this._initTiles();                } else {            var i = 0;            while (this.getGridBounds().bottom > bounds.bottom) {               this.insertRow(false);             }            while (this.getGridBounds().left > bounds.left) {               this.insertColumn(true);             }            while (this.getGridBounds().top < bounds.top) {               this.insertRow(true);             }            while (this.getGridBounds().right < bounds.right) {               this.insertColumn(false);             }        }    },
meta: 1027	/local1/tlutelli/issta_data/temp/all_js/javascript/2006_temp/2006/1027/082133730e8d2dd2f1f272bc84ae47f7f48f1685/Grid.js/buggy/lib/OpenLayers/Layer/Grid.js