[OpenLayers-Trac] [OpenLayers] #1112: Only show Browser Incompatibility message Once

OpenLayers trac at openlayers.org
Fri Jul 11 16:40:13 EDT 2008


#1112: Only show Browser Incompatibility message Once
---------------------------+------------------------------------------------
  Reporter:  euzuro        |       Owner:  crschmidt  
      Type:  bug           |      Status:  new        
  Priority:  minor         |   Milestone:  2.7 Release
 Component:  Layer.Vector  |     Version:  2.5        
Resolution:                |    Keywords:             
     State:  Review        |  
---------------------------+------------------------------------------------
Comment (by elemoine):

 Does this patch really work and make the error message appear only on the
 first vector layer creation? It seems to be that doing {{{this.reportError
 = false}}} will only prevent getting the error message multiple times
 *per* vector layer, which is already the case since {{{displayError()}}}
 is called in the constructor only. Doing
 {{{OpenLayers.Layer.Vector.prototype.reportError = false}}} would look
 better to me.

-- 
Ticket URL: <http://trac.openlayers.org/ticket/1112#comment:3>
OpenLayers <http://openlayers.org/>
A free AJAX map viewer


More information about the Trac mailing list