Hi,

How did you land on this page?

The URL to access is supposed to be
http://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/crs.html

In your link, in the js

if (langPlusPage==undefined){
            currentPage = currentPage.replace('index.html','')
            search = new RegExp('\/[a-zA-Z_]{2,8}\/'+ currentPage, 'gi');
            langPlusPage = window.location.href.match(search);
}

but currentPage contains currentPage value is
"docs/pyqgis_developer_cookbook/crs.html"

As your url is
http://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/crs,
window.location.href.match(search); failed and you get your alert popup.


Cheers


Thomas Gratier

2016-04-20 10:09 GMT+02:00 Tom Chadwin <tom.chad...@nnpa.org.uk>:

> I'm getting a popup on this page:
>
> http://docs.qgis.org/testing/en/docs/pyqgis_developer_cookbook/crs
>
> "There is an documentation error, please report back to QGIS devs."
>
> Not visited the page before, so I don't know whether the problem has just
> occurred.
>
>
>
> --
> View this message in context:
> http://osgeo-org.1560.x6.nabble.com/JS-error-popup-on-PyQGIS-dev-cookbook-page-tp5262013.html
> Sent from the Quantum GIS - Developer mailing list archive at Nabble.com.
> _______________________________________________
> Qgis-developer mailing list
> Qgis-developer@lists.osgeo.org
> List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
> Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer
_______________________________________________
Qgis-developer mailing list
Qgis-developer@lists.osgeo.org
List info: http://lists.osgeo.org/mailman/listinfo/qgis-developer
Unsubscribe: http://lists.osgeo.org/mailman/listinfo/qgis-developer

Reply via email to