]> git.openstreetmap.org Git - rails.git/commit
Set OpenLayers lang unobtrusively
authorJohn Firebaugh <john.firebaugh@gmail.com>
Sat, 25 Aug 2012 02:00:59 +0000 (19:00 -0700)
committerJohn Firebaugh <john.firebaugh@gmail.com>
Sat, 25 Aug 2012 02:00:59 +0000 (19:00 -0700)
commitdcb25f0c07ef0252fb411be35030ead67f5da5d1
tree94e3c65c0dc43be2a69beafa09b396dd2014ebd2
parent2ce968b571f8e80fc2805e008591b67c14ba640e
Set OpenLayers lang unobtrusively

We output the locale code as the lang attribute, so
use that rather than interpolating into embedded JS.
app/assets/javascripts/openlayers.js.erb
app/views/browse/_map.html.erb
app/views/changeset/_map.html.erb
app/views/diary_entry/edit.html.erb
app/views/site/index.html.erb
app/views/user/_map.html.erb