From: Tom Hughes Date: Fri, 31 Aug 2007 12:57:32 +0000 (+0000) Subject: Don't allow Potlatch to be started with a zoom below 11. X-Git-Tag: live~8134 X-Git-Url: https://git.openstreetmap.org/rails.git/commitdiff_plain/ed8b7fde422b6e33780f914361c85e39ce79a8ce Don't allow Potlatch to be started with a zoom below 11. --- diff --git a/app/views/site/edit.rhtml b/app/views/site/edit.rhtml index a41a80176..fc1f78ce4 100644 --- a/app/views/site/edit.rhtml +++ b/app/views/site/edit.rhtml @@ -39,6 +39,7 @@ var fo = new SWFObject("/potlatch/potlatch.swf?d="+Math.round(Math.random()*1000), "potlatch", "700", "600", "6", "#FFFFFF"); function doSWF(lat,lon,sc) { + if (sc < 11) sc = 11; fo.addVariable('lat',lat); fo.addVariable('long',lon); fo.addVariable('scale',sc);