make sure we tell the uploader js we are dealing with a layer
Merge branch 'master' of https://github.com/GeoNode/geonode