OpenLayers OpenLayers

Ticket #1112: onlyOnce.patch

File onlyOnce.patch, 464 bytes (added by euzuro, 6 months ago)

patch to make sure this error only reported once.

  • lib/OpenLayers/Layer/Vector.js

    old new  
    236236        if (this.reportError) { 
    237237            alert(OpenLayers.i18n("browserNotSupported",  
    238238                                     {'renderers':this.renderers.join("\n")})); 
     239            this.reportError = false; 
    239240        }     
    240241    }, 
    241242